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

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


A very little question :

In my code, all my symbols are in lower case.
The compiler or the hatari debugger transforms them in UPPER case.

Would it be possible to make them case insensitive ?

For example, I wanted to :

> d my_function
Unrecognized number prefix in 'my_function'!
Invalid address value 'my_function'!

Whereas
> d MY_FUNCTION
MY_FUNCTION:
$0617da : 2f39 0006 3372                       move.l    $63372,-(sp)
$0617e0 : 3f3c 0049                            move.w    #$49,-(sp)
$0617e4 : 4e41                                 trap      #1
[...]

I copy the label from my source code to check the code into the hatari debugger.

Regards

Laurent





Le 08/04/2013 19:58, Laurent Sallafranque a écrit :
HI,

That's absolutely perfect !

OPT D+ was the answear.

Eero, the symbols directly in the debugger is really a great improvement, thanks a lot.

Regards

Laurent


Le 08/04/2013 04:24, Miro Kropáček a écrit :

According to my Devpac v2 manual, Devpac's linker generates DRI symbol table
with "-D" option and "-X" option produces extended symbol information
(hopefully same as GST).
If I'm not mistaken, you can set this directly in Devpac, either in Options or as OPT directive directly in the source. For example OPT D- disables symbols, I guess OPT D+ enables them.
 
As for GCC, at least by default GCC outputs a.out format symbol table,
I don't know whether there's an option to generate DRI/GST format.
-Wl,--traditional-format

--
MiKRO / Mystic Bytes
http://mikro.atari.org




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