Re[2]: [cc65] Label file

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2001-08-02 16:38:33


Hello Ullrich,

Thursday, August 02, 2001, 4:28:49 PM, you wrote:


UvB> 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 ;-)

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

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

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

mmmh why wait for an emulator to support that stuff ? its very handy
to have this info even if you need to look in the mapfile yourself!

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
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