flat assembler
Message board for the users of flat assembler.

Index > Main > fasmg and debugging

Author
Thread Post new topic Reply to topic
f2065



Joined: 01 Jan 2012
Posts: 13
Location: Russia,Moscow
f2065 15 Aug 2022, 22:55
How to "dump symbolic information for debugging" in fasmg ?
Post 15 Aug 2022, 22:55
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8041
Location: Kraków, Poland
Tomasz Grysztar 16 Aug 2022, 06:41
The symbolic dump was provided for fasm 1 to give access to information that would otherwise be inaccessible, to allow producing listings and debug info structures. This was simply a dump of the internal data, in implementation-specific format, because that was the least troublesome method of doing it.

In case of fasmg, there are various facilities that allow to intercept and gather necessary information from the language itself. I provided a couple of listing generators in the utility package, and the auxiliary documentation has some notes on intercepting the labels. These are just general examples - when creating a specific framework, like implementing specific CPU architecture and output format, with custom rules of syntax and structuring of code, a specialized modules to generate listings or symbol dumps may be included in such framework, taking into consideration its specific needs. Compare how these two different listing generators behave with AVR example.
Post 16 Aug 2022, 06:41
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.