Re: [cc65] Label file

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-08-02 16:28:49


On Thu, Aug 02, 2001 at 10:13:13AM -0400, Keates, Mark wrote:
> I'm looking into whether I can enhance the A800Win emulator
> to take the the label file generated by LD65 to assist with
> debugging. However the following question popped up:
>
> The label file appears to only contain exported labels,
> would it be possible to export all labels? (except locals of course ;-)

The label file will contain all labels from modules that are assembled with -g
(debug info). So the feature you're requesting is already there - just use -g
for the compiler and assembler and you will get what you want.

The only drawback is currently that the file will include all symbols
regardless of the type, so it is not possible to distinguish a zero page
address from the symbol definition "blank = $20". This would be not too
difficult to add once there are emulators capable of using this information.

If you are adding label information, you may also think about adding source
level debugging: The linker from the development snapshot is able to generate
line information when used with "--dbgfile file" (this is undocumented and not
printed in the help screen). I will have to clean up all the different options
for generating info files once an emulator starts to actually use the data and
it becomes clear what is really needed and what is not.

Regards


        Uz


--
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:40 CET