----- Original Message -----
From: "JMGross" <msp...@grossibaer.de>
To: "MSPGCC mailing list," <mspgcc-users@lists.sourceforge.net>
Sent: Thursday, July 01, 2010 12:42 PM
Subject: Re: [Mspgcc-users] Creating .lst files with C code
I too use objdump to generate a complete project listing from the elf
file.
It has, however, some serious drawbacks. Not only that jumps and calls
are not printed with their symbolic name, also the source code in the
listing
is sometimes (often) from a completely different file or from different
lines of the same file. So it is virtually useless.
AFAIK this is the result of compiling with optimisation on. If you want a
proper
list file with source code mixed in, you should compile without optimisation
(-O0) and with full
debugging enabled (IIRC -g3). At least thats how it works for me when using
GCC in general.
Nico Coesel