Re: [hatari-devel] Symbols visibility in debugger code

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


On Sonntag, 18. Juli 2021 12:29:41 CEST Troed Sångberg wrote:

> are there limitations that has made it too difficult before?

 

I think the main problem the disassembler has, that it it only sees the absolute value, but not whether the instruction originally referenced a symbol, or it was just an arbitrary absolute value. For example:

 

[code]

move.l #$1000,d0

move.l #mylabel,a0

[/code]

 

should ideally print the symbol name for the second instruction, but not for the first. The disassembler cannot know, because Hatari can only load symbol values, but not relocation entries from object files.

 

 



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