flat assembler
Message board for the users of flat assembler.

Index > Linux > Symbolic Debugging Information

Author
Thread Post new topic Reply to topic
hlzr



Joined: 10 Jul 2009
Posts: 1
Location: fallbrook, ca
hlzr
Hi, I'm new here (and new to assembly). I am trying to get symbolic debugging information linked in with my binaries, so I can debug with gdb (and see comments and avoid gdb's hideous AT&T syntax disassembly). Does anyone know how to do this?

I am using gcc as my linker (rather, as a frontend for my linker, because I don't want to have to find out which file each c external is in).

I saw that fasm has a -s option for outputting symbolic information in the 'fas' format. Is there anything I can do with the file it outputs, or do I have to write some software to use it?

Is there either a fas -> DWARF or fas -> stabs converter I don't know about? Should I write one?
Post 10 Jul 2009, 20:29
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Quote:

Should I write one?

Yes, please! There is no one yet.
Post 10 Jul 2009, 21:49
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7718
Location: Kraków, Poland
Tomasz Grysztar
Read this thread for more information: http://board.flatassembler.net/topic.php?t=9792

It would be great if you could join development and create some converters.
Post 10 Jul 2009, 23:42
View user's profile Send private message Visit poster's website Reply with quote
0x000BLAh



Joined: 13 Nov 2009
Posts: 1
Location: Somewhere, Russia
0x000BLAh
So there is no way to generate debugging symbols for gdb?
(i am new to fasm under linux, i use elf object format and then gcc/ld to link)
Post 14 Nov 2009, 02:00
View user's profile Send private message ICQ Number 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.

Powered by rwasa.