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

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


A naive solution would be to replace the address range that falls within the program - I assume that one is known?

(I'm also not sure I understand what you mean, the symbols table has the addresses - so unless $1000 was a valid symbol it would not be replaced)

/Troed

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, July 18th, 2021 at 12:55 PM, Thorsten Otto <admin@xxxxxxxxxxx> wrote:

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/