avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] avr-gdb, assembly, and JTAG


From: Joerg Wunsch
Subject: Re: [avr-chat] avr-gdb, assembly, and JTAG
Date: Tue, 5 May 2009 06:23:56 +0200 (MET DST)

"Weddington, Eric" <address@hidden> wrote:

> If avra can produce this kind of ELF file, with the right kind of
> debug information, then perhaps AVR GDB can then debug that file.

To debug an assembly file, debugging information isn't strictly
needed (you can always debug at the disassembly level), but it's
extremely helpful.

When using the GNU assembler with stabs debugging information, it can
automatically provide line number information (option --gstabs).  This
helps the debugger displaying the respective source file line.

Displaying registers works using the "show register" command.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]