Re: [hatari-devel] Loading symbol info from program DRI/GST symbol table

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


BTW how best to deal with the labels-as-defines problem? Since the Hatari debugger takes the first label with a given address as 'the' label, this tends to pick the define versus the actual real label since defines tend to be at the top of a sourcefile.

Actually I can answer my own question - I should just go through my source and convert all my build-time defines from IFD to IFEQ/IFNE equivalents, so they aren't symbols any more.

But it's worth keeping in mind the debugger picks the 'farthest' and not the 'nearest' symbol to a given address, in source-space, and can produce strange results with defines-as-labels, or where labels bound the start/end of things and are adjacent.
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/