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: Weddington, Eric
Subject: RE: [avr-chat] avr-gdb, assembly, and JTAG
Date: Mon, 4 May 2009 18:12:10 -0600

 

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden
>  On Behalf Of Marge Coahran
> Sent: Monday, May 04, 2009 5:45 PM
> To: address@hidden
> Subject: [avr-chat] avr-gdb, assembly, and JTAG
> 
> Can avr-gdb/avarice be used with source written in assembly 
> (eg, can gdb 
> display values stored in specific registers)? The code would 
> be assembled 
> with avra.

GDB is for use with the other GNU tools: GCC, and GNU Binutils, which contains 
the GNU assmebler (also known as "gas"). To be more specific, AVR GDB works 
with the ELF file format (which is produced by the GNU linker, "ld"), and can 
work with either the "stabs" debug information (embedded in the ELF file), or 
sometimes with DWARF-2 debug information embedded in the ELF file. BTW, the ELF 
file format and DWARF-2 debug information format are publicly available 
standards.

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.




reply via email to

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