This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
step through code
- From: "Heik H. Hellmich" <hellmich at mikro dot ee dot tu-berlin dot de>
- To: insight at sources dot redhat dot com
- Date: Wed, 25 Sep 2002 12:58:59 +0200
- Subject: step through code
- Organization: TU Berlin - Microelectronics Division
Hi all,
I am using Insight GNU gdb 5.1 (--host=sparc-sun-solaris2.6
--target=powerpc-eabi) and have the problem that I cannot step through
the generated elf-code because the step/next/finish/continue buttons are
always greyed out for target=sim. I am able to load the elf-file and can
see the c-file and the corresponding asm-file in Insight's source
window.
The 2 commands how I created the elf-file are the following:
powerpc-eabi-gcc -Wall -gdwarf -msdata=eabi -mcpu=403 \
-I/work/hellmich/sftwr/libs/bsp/include \
-DV2PDK -DDEBUG -o ppc.o -c ppc.c
powerpc-eabi-gcc -Wall -gdwarf -msdata=eabi -mcpu=403 \
-I/work/hellmich/sftwr/libs/bsp/include \
-DV2PDK -DDEBUG -Wl,-T,/work/hellmich/sftwr/mapfiles/mapfile_ppc \
-u _boot -o ppc.elf ppc.o \
/work/hellmich/sftwr/libs/bsp/v2pdk/debug/bsp.a
bsp stands for board support packages and contains several c- and
asm-files (bootloader, controlling peripheral devices like UART, ...).
I would really appreciate a hint how I can solve this problem!
- Heik -