--- In lpc2000@yahoogroups.com, "bdmlpc" <list@n...> wrote:
>
> Hello,
>
> just turn on debugging info ('-g') and have a look at your object- or
> elf-file with 'arm-elf-objdump -DS <file>'. This will display C-source
> and assembler in a mix. Hint: If you turn off optimization ('-O') the
> output is more readable!
Thank you for responding.
The arm-elf-objdump command generated a whopping 8 MB file
but not with the nessecary debugging information :-(
Unfortunally there seems to be no debugger output in the
.lst file either while in other's there is. No matter
the settings I tried. So I copied the line of source to
be debugged into the file that generated the debug
info in the .lst output and took it from there.
roelofMessage
Re: C code inline with assembler file output
2005-10-19 by roelof t Hooft
Attachments
- No local attachments were found for this message.