Re: [hatari-devel] Hatari Debugger Symbols

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


Hi,

On 12/14/19 9:34 AM, Markus Fröschle wrote:
....
Retain symbols in resident programs

When debugging resident (TSR) programs (terminated with a Ptermres()
GEMDOS call), you'll probably have a 'trigger' program that invokes
some functionality in the TSR you want to debug. Loading your 'trigger'
program from a Hatari GEMDOS emulated drive will autoload its symbols,
thus replacing the symbols of your TSR (which you are really interested
in) you loaded previously.

You can work around this issue if you load your 'trigger' program from
another drive without GEMDOS emulation (e.g. a floppy image). This will
bypass the symbols autoload of the 'trigger' program and (provided you
have instructed the debugger to retain your TSR's symbols with the
'symbols resident' command before) allow symbolic debugging in the TSR.

With the autoload it's a bit simpler, so I used only your paragraph:
https://git.tuxfamily.org/hatari/hatari.git/commit/?id=31d35865b72455268d3fe42453da3ac64bf89afe

Thanks!

	- Eero



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