bdigdb problem?
Hi everyone,
I have a problem with debug of ppcboot usign bdi2000 for gdb ppcboot is running on my TQM850L board and i want to debug it.
when I start the ppc_8xx-gdb
with
set solib-absolute-prefix /opt/eldk/ppc_8xx
dir /opt/eldk/ppc_8xx
target remote 192.168.2.52:2001
commands
gdb says0x00000100 in ?? ()
but when i try to load ppcboot code into gdb with
file /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1/ppcboot
it gives the error
function "" not defined
what must i do ?
Thank you
Yi?it CAN
Karel Electronics Corp.
yigit.can at karel.com.tr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030321/2504cc06/attachment.htm
Dear Yigit,
Quoted 8 lines · in message <004201c2ef8a$51bb2620$3002a8c0@yigitcan> you wrote:
I have a problem with debug of ppcboot usign bdi2000 for gdb ppcboot is running on my TQM850L board and i want to debug it.
when I start the ppc_8xx-gdb
withset solib-absolute-prefix
/opt/eldk/ppc_8xx
This is wrong for PPCBoot, as PPCBoot does not use any shared libs.
Quoted 1 line
dir
/opt/eldk/ppc_8xx
Shouldn't this be /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1 then?
Quoted 7 lines
file
/opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1/ppcbootit gives the error
function "" not defined
what must i do ?
Which version of GDB is this? From our ELDK?
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Ever try. Ever fail. No matter. Try again. Fail again. Fail better.
-- S. Beckett