avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] How does one get gcc *.lst file with interspersed Sou


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] How does one get gcc *.lst file with interspersed Source Listing and Assembler?
Date: Fri, 2 Dec 2005 07:13:05 +0100 (MET)

"Patrick Sullivan" <address@hidden> wrote:

> Does anyone know a way to get the *.c source lines interspersed
> within the below output (i.e. what gcc or as options etc...?)?

What you're looking for is usually implemented as a disassembler
listing: avr-objcopy -S does that job.  It re-injects the source code
based on the debugging (i.e. line number) information.  Of course,
that has its drawbacks, as there's not necessarily a 1:1 mapping.

-- 
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]