Hatari debugger *.sym file format

A forum about the Hatari ST/STE emulator - the current version is v2.0.0

Moderators: simonsunnyboy, thothy, Moderator Team

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 4849
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Hatari debugger *.sym file format

Postby simonsunnyboy » Thu Nov 02, 2017 9:07 am

Experimenting with generating an offline symbol map file (see viewtopic.php?f=70&t=32519), I noticed that the input file for Hatari lists addresses as 64bit numbers.

What is the intention of this as the Motorola CPUs used only have 32bit addresses? What am I missing?
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org

ThorstenOtto
Captain Atari
Captain Atari
Posts: 157
Joined: Sun Aug 03, 2014 5:54 pm

Re: Hatari debugger *.sym file format

Postby ThorstenOtto » Thu Nov 02, 2017 10:18 am

simonsunnyboy wrote:Experimenting with generating an offline symbol map file (see http://www.atari-forum.com/viewtopic.php?f=70&t=32519), I noticed that the input file for Hatari lists addresses as 64bit numbers.

What is the intention of this as the Motorola CPUs used only have 32bit addresses? What am I missing?


That is because the binutils are from a cross-compiler, and that is usually done on a 64-bit host. By default, they are configured to contain also support for the host, and that has the effect that the whole bfd-library is compiled for 64-bit support.

It does not have any bad effect other than that most addresses are printed in 64-bit format.

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 4849
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Hatari debugger *.sym file format

Postby simonsunnyboy » Thu Nov 02, 2017 10:36 am

So unless addresses larger than 0xFFFFFFFF appear, it should pose no problem for Hatari itself?
That sounds reasonable.
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org


Social Media

     

Return to “Hatari”

Who is online

Users browsing this forum: No registered users and 4 guests