This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

step through code


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 -


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]