| Other BBSes » |
Atari coding BBS
|Re: gcc and hatari debugging |
Posted by: dml
ok, found an actual example. the 'fgrep' removes locals and some other unwanted clutter from the symbol table. the rest is straightforward.
# prefix for all toolchain tools
TOOLCHAIN_PREFIX = m68k-atari-mint-
NM = $(TOOLCHAIN_PREFIX)nm
HATARI_WORKING_DIR = hatari
PRG = test.prg
$(NM) -n $(PRG) > debug_.sym
fgrep -v -e ".L" -e " ." -e ".o" -e "/" debug_.sym > debug.sym
cp debug.sym $(HATARI_WORKING_DIR)/
>symbols debug.sym TEXT
...may see a bunch of spam from symbol import step, but hopefully no errors
[All messages in this thread]
Message board and comments are now read-only
Due to abuse of the message boards we have put the entire site in read-only mode. That means you can't post new threads or reply to old messages and you can't add
comments in VideoDB and PicDB.
Some messages have been erased from reading, but are stored in case they need to surface again.
After 17 years and 45000 messages we're shutting down due to one person.