public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] bdigdb  problem?
@ 2003-03-21  9:14 Yigit Can
  2003-03-21 10:39 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Yigit Can @ 2003-03-21  9:14 UTC (permalink / raw)
  To: u-boot

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 says 
0x00000100 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 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] BDIGDB  problem?
@ 2003-03-21 10:09 Yigit Can
  0 siblings, 0 replies; 4+ messages in thread
From: Yigit Can @ 2003-03-21 10:09 UTC (permalink / raw)
  To: u-boot


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 says 
0x00000100 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 says 

Reading symbols from ppcboot...
done.


but when i try to list the source with "l" option


it gives me the error :

1     {standard input}: No such file or directory.
       in {standard input}


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/879bb03e/attachment.htm 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] bdigdb problem?
  2003-03-21  9:14 Yigit Can
@ 2003-03-21 10:39 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-03-21 10:39 UTC (permalink / raw)
  To: u-boot

Dear Yigit,

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
> with 
> 
> set solib-absolute-prefix /opt/eldk/ppc_8xx

This is wrong for PPCBoot, as PPCBoot does not use any shared libs.

> dir /opt/eldk/ppc_8xx

Shouldn't this be /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1 then?


> file /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1/ppcboot

> it gives the error
> 
> function "" not defined
> 
> what must i do ?

Which version of GDB is this? From our ELDK?

Best regards,

Wolfgang Denk

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] bdigdb problem?
@ 2003-03-21 11:18 Yigit Can
  0 siblings, 0 replies; 4+ messages in thread
From: Yigit Can @ 2003-03-21 11:18 UTC (permalink / raw)
  To: u-boot

Yes, I am using ELDK's gdb 

The commands, I wrote  and responses are :

#ppc_8xx-gdb ppcboot
=>dir /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1
directory searched ...

=>l

1     {standard input}: No such file or directory.
       in {standard input}


what can i do with this error
I can see -g option in compilation logs

Thank you 



Yigit CAN
Karel Electronics Corp.
yigit.can at karel.com.tr
----- Original Message ----- 
From: "Wolfgang Denk" <wd@denx.de>
To: "Yigit Can" <yigit.can@karel.com.tr>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Friday, March 21, 2003 12:39 PM
Subject: Re: [U-Boot-Users] bdigdb problem? 


Dear Yigit,

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
> with 
> 
> set solib-absolute-prefix /opt/eldk/ppc_8xx

This is wrong for PPCBoot, as PPCBoot does not use any shared libs.

> dir /opt/eldk/ppc_8xx

Shouldn't this be /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1 then?


> file /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1/ppcboot

> it gives the error
> 
> function "" not defined
> 
> what must i do ?

Which version of GDB is this? From our ELDK?

Best regards,

Wolfgang Denk

-- 
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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-21 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-21 10:09 [U-Boot-Users] BDIGDB problem? Yigit Can
  -- strict thread matches above, loose matches on Subject: below --
2003-03-21 11:18 [U-Boot-Users] bdigdb problem? Yigit Can
2003-03-21  9:14 Yigit Can
2003-03-21 10:39 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox