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

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

[avr-gcc-list] gdb: No debugging symbols found for '128 bootloader


From: Kyle Jamieson
Subject: [avr-gcc-list] gdb: No debugging symbols found for '128 bootloader
Date: Tue, 9 Dec 2003 12:57:00 -0500
User-agent: Mutt/1.5.4i

I suspect that this will be an easily-answerable newbie question, but
here goes anyway.  When I build a binary in the following manner, gdb
can't find debugging symbols.  Can anyone shed some light on why not?

Following is the sequence of events.

$ make
avr-gcc  -c -g -Wall -I/usr/local/avr/include  -I. -mmcu=atmega128 -o 
inpispm2.o inpisp.c
 .
 .
 .
 avr-ld -v -mavr5 -Map=inpispm2.map -T bootloader.lds -o inpispm2 inpispm2.o

$ ice-gdb inpispm2
AVaRICE version 2.0.20031116cvs, Nov 18 2003 13:52:20
.
.
.
Download complete.
Waiting for connection on port 6423.
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=avr"...
(no debugging symbols found)...
Connection opened by host 127.0.0.1, port 33050.
0x00000000 in ?? ()
(gdb) 

.
.
.

$ avr-gcc -v
Reading specs from /opt/avr-toolchain/lib/gcc-lib/avr/3.3.2/specs
Configured with: /home/jamieson/build/gcc-3.3.2/configure
--prefix=/opt/avr-toolchain --target=avr --enable-languages=c
--disable-nls
Thread model: single
gcc version 3.3.2


reply via email to

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