This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Is there any assembly language debugger?
- From: Nick Clifton <nickc at redhat dot com>
- To: mayuresh at kathe dot in, binutils at sourceware dot org
- Date: Tue, 17 Sep 2019 17:58:28 +0100
- Subject: Re: Is there any assembly language debugger?
- References: <4ef1ad6b3ad4d2d5ef58d15fd94fa3b3@kathe.in>
Hi Mayuresh,
Does the binutils collection have any assembly language debugger which
could be used along with "gas"?
No and yes. No there is not a debugger that is specifically targeted at
assembly language programs. But debuggers like GDB already have good
support for displaying and stepping through assembly, so this should not
be a problem.
The assembler does however have the ability to generate DWARF debug
information describing the assembler source that it is processing, so
that an external debugger (eg gdb) can then provide a better experience
to the user. The option that does this is -gdwarf-2.
Cheers
Nick