flat assembler
Message board for the users of flat assembler.

Index > Linux > Debugging in linux

Author
Thread Post new topic Reply to topic
realcr



Joined: 02 Apr 2007
Posts: 39
realcr
Hey people.
I looked for this question in the linux faq but couldn't find anything...
How do u usually debug your linux fasm programs? I used to use gdb for C programs ,
but It was supported by gcc with the -g flag.
Maybe there's a way to configure it to work with gdb?

thanks for your help,
bar.
Post 04 May 2007, 22:32
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
FASM doesn't have support for symbolic information.

For 32bit programs there is ALD, for 64bit programs you have FDBG
Post 05 May 2007, 08:40
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
realcr



Joined: 02 Apr 2007
Posts: 39
realcr
thanks vid.

I downloaded ald source. Hope I can make it work.

bar.
Post 05 May 2007, 10:14
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Feryno



Joined: 23 Mar 2005
Posts: 454
Location: Czech republic, Slovak republic
Feryno
Although fdbg for Linux AMD64 supports debug symbols, it has also a help file where you can find tricks how to debug without debug symbols a bit easier (close at the end of the file, it's the same in 32-bit as well 64-bits).
ald is very good and powerfull, I used to use it for 32-bit Linux.
Post 07 May 2007, 07:59
View user's profile Send private message Visit poster's website 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.