English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 03 August 2018, 21:50   #1
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 516
VASM - not getting debug symbols

Hi all,

I've moved a project over to using VASM and for the life of me I don't know why I'm not getting any debugging symbols when I should be.

The command line I'm running to compile is

Code:
vasm  -m68020 -Fhunkexe -I C:\Development\Project\Include -o C:\Emulators\Commodore\Amiga\HardDrive\A500_TestRig\ToolChain\test.exe C:\Development\Project\main.asm
Does anyone have any ideas why I'm not seeing debug symbols in MonAm? When I did Bomb Jack I was getting them.

I don't set any options in the assembler files.

Any help appreciated.

Cheers,
Geezer
mcgeezer is offline  
Old 03 August 2018, 23:50   #2
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,163
Didn't you ask the same, or a similar question, few days ago?

I'm on holiday in Denmark now, and I don't have MonAm with me for testing. But I seem to remember that MonAm cannot parse OS2+ HUNK_RELOC32SHORT hunks (i.e. relocs with 16-bit offsets), which vasm creates by default.

Does -kick1hunks help? This avoids all new hunk types.
phx is offline  
Old 03 August 2018, 23:55   #3
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 516
Quote:
Originally Posted by phx View Post
Didn't you ask the same, or a similar question, few days ago?

I'm on holiday in Denmark now, and I don't have MonAm with me for testing. But I seem to remember that MonAm cannot parse OS2+ HUNK_RELOC32SHORT hunks (i.e. relocs with 16-bit offsets), which vasm creates by default.

Does -kick1hunks help? This avoids all new hunk types.
Hi, thanks PHX...

Certainly not a couple of days ago. My last question on vasm was similar though but not on debug symbols.

kick1hunks doesn't help at all, I tried that option.

will double check to make sure.

Geezer

Edit: - For fuck sake. I was sure I tried this earlier....

Code:
vasm  -m68020 -Fhunkexe -kick1hunks
This works...

Apologies PHX, I hope you are having a great holiday.

Geezer
mcgeezer is offline  
Old 09 August 2018, 11:09   #4
prb28
Registered User

 
Join Date: May 2018
Location: France
Posts: 12
If needed, the option:
Code:
-linedebug
may add some more debug info.
prb28 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
UAE debugger updates (executable debugging, segment tracking, symbols and more) Toni Wilen support.WinUAE 105 19 July 2018 22:47
User Symbols in ReSource selco Coders. General 3 11 April 2015 21:26
SAS/C: Undefined symbols Yesideez Coders. C/C++ 14 13 February 2014 16:36
Settlers/copy protection Symbols macpegg support.Games 8 27 February 2009 05:23
Hardware symbols includes like cia.i Photon Coders. General 6 10 March 2006 23:48

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.08138 seconds with 14 queries