[hatari-devel] Symbol name/address support added to Hatari debugger

Laurent Sallafranque laurent.sallafranque at free.fr
Wed Jan 13 00:02:53 CET 2010


> Next I will look into the "info" stuff for Laurent (at the end of week),
> adding active program basebage information showing (for getting program
> text & bss section addresses) and testing how to get also normal programs
> to work with the symbol/address support.

I've uploaded the new debugInfo file.

Don't hesitate to change it for your convenience.

> Laurent, would you be interested about similar support for DSP? :-)

Yes I would if it doesn't annoy you ;)

Regards,

Laurent



Eero Tamminen a écrit :
> Hi,
>
> I just commited the symbol name/address support to the Hatari debugger.
>
> "symbols" command can be used to load and list symbols and "address" command
> has TAB completion for the loaded symbol names.
>
>
> On quick testing this seems to work fine with EmuTOS.  To test it yourself,
> first get the AHCC compiled EmuTOS package from here:
> 	http://members.chello.nl/h.robbers/
>
> After extracting the package, use new Hatari tools/ahcc-symbols-convert.sh
> script to convert the etos512.map from the EmuTOS package to "nm" format
> understood by the Hatari debugger:
> 	ahcc-symbols-convert.sh etos512.map > etos512.sym
>
> Then start Hatari with the EmuTOS from this package:
> 	hatari --tos etos512.img -d <some dir>
>
> Use AltGr+Pause to go to debugger, and load the symbol/address file with:
> 	sym<TAB> etos512.sym
> (the filenames have also TAB completion)
>
> Then type e.g.:
> 	add<TAB> _dos_mk<TAB>
> which completes to:
> 	address _dos_mkdir
>
> After the breakpoint is set, type 'c' to continue emulation and create
> a folder from the EmuTOS GEM.  Hatari will then drop you to debugger
> as EmuTOS mkdir breakpoint was hit.
>
>
> Next I will look into the "info" stuff for Laurent (at the end of week),
> adding active program basebage information showing (for getting program
> text & bss section addresses) and testing how to get also normal programs
> to work with the symbol/address support.
>
> Once it works, I'll document it to the manual and maybe start looking into
> breakpoint counting support + some possible usability improvements for
> the symbol support.
>
> Laurent, would you be interested about similar support for DSP? :-)
>
>
> 	- Eero
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
>
>
>   




More information about the hatari-devel mailing list