* [U-Boot-Users] Debug problem?
@ 2003-03-24 13:46 Yigit Can
0 siblings, 0 replies; 4+ messages in thread
From: Yigit Can @ 2003-03-24 13:46 UTC (permalink / raw)
To: u-boot
writing
=> target remote 192.168.2.52:2001
0x00000100 in ?? ()
it connects and i wrote
=> continue
=> press CTRL+C
=>l
1 {standard input}: No such file or directory.
in {standard input}
I can not see the source code
but i can see register values with
=> info registers
or
=>print $pc
I am running ppc_8xx-gdb in /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1 where i
built ppcboot.
Thanks
----- Original Message -----
From: "Wolfgang Denk" <wd@denx.de>
To: "Yigit Can" <yigit.can@karel.com.tr>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Monday, March 24, 2003 10:05 AM
Subject: Re: [U-Boot-Users] Debug problem?
In message <002401c2f1cc$47ede2b0$3002a8c0@yigitcan> you wrote:
> I am using Denx ELDK
>
> For debug of ppcboot:
> The Commands I wrote and responses are :
>
> #ppc_8xx-gdb ppcboot
Which is your current directory when you enter this comand? Where did you
build the ppcboot binary?
> =>dir /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1
> directory searched ...
Why are you entering this command? If you built thePPCBoot binary in
this directory, it should not be necessary, since GDB will
automatically use $cdir:$cwd as it's directory search. If you built
PPCBoot in a different directory and use this as current directory
the command should not be necessary either for the same reason.
> =>l
>
> 1 {standard input}: No such file or directory.
> in {standard input}
You are not running the program yet. No source file is being executed
yet. You cannot show other information like registers, either:
(gdb) info registers
The program has no registers now.
(gdb) print $pc
No registers.
> what can i do with this error
> I can see -g option in compilation logs
Start the program (by attaching to a remote target and "continue"),
and everything will be well :-)
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
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower. - Terry Pratchett, _Mort_
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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* [U-Boot-Users] Debug problem?
@ 2003-03-24 10:00 Yigit Can
0 siblings, 0 replies; 4+ messages in thread
From: Yigit Can @ 2003-03-24 10:00 UTC (permalink / raw)
To: u-boot
by using
=> target remote 192.168.2.52:2001
0x00000100 in ?? ()
it connects and i wrote
=> continue
=> press CTRL+C
=>l
1 {standard input}: No such file or directory.
in {standard input}
I can not see the source code
but i can see register values with
=> info registers
or
=>print $pc
I am running ppc_8xx-gdb in /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1 where i
built ppcboot.
Thanks
----- Original Message -----
From: "Wolfgang Denk" <wd@denx.de>
To: "Yigit Can" <yigit.can@karel.com.tr>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Monday, March 24, 2003 10:05 AM
Subject: Re: [U-Boot-Users] Debug problem?
In message <002401c2f1cc$47ede2b0$3002a8c0@yigitcan> you wrote:
> I am using Denx ELDK
>
> For debug of ppcboot:
> The Commands I wrote and responses are :
>
> #ppc_8xx-gdb ppcboot
Which is your current directory when you enter this comand? Where did you
build the ppcboot binary?
> =>dir /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1
> directory searched ...
Why are you entering this command? If you built thePPCBoot binary in
this directory, it should not be necessary, since GDB will
automatically use $cdir:$cwd as it's directory search. If you built
PPCBoot in a different directory and use this as current directory
the command should not be necessary either for the same reason.
> =>l
>
> 1 {standard input}: No such file or directory.
> in {standard input}
You are not running the program yet. No source file is being executed
yet. You cannot show other information like registers, either:
(gdb) info registers
The program has no registers now.
(gdb) print $pc
No registers.
> what can i do with this error
> I can see -g option in compilation logs
Start the program (by attaching to a remote target and "continue"),
and everything will be well :-)
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
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower. - Terry Pratchett, _Mort_
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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* [U-Boot-Users] bdigdb problem?
@ 2003-03-21 11:18 Yigit Can
2003-03-24 6:12 ` [U-Boot-Users] Debug problem? Yigit Can
0 siblings, 1 reply; 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* [U-Boot-Users] Debug problem?
2003-03-21 11:18 [U-Boot-Users] bdigdb problem? Yigit Can
@ 2003-03-24 6:12 ` Yigit Can
2003-03-24 8:05 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Yigit Can @ 2003-03-24 6:12 UTC (permalink / raw)
To: u-boot
I am using Denx ELDK
For debug of ppcboot:
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
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot-Users] Debug problem?
2003-03-24 6:12 ` [U-Boot-Users] Debug problem? Yigit Can
@ 2003-03-24 8:05 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-03-24 8:05 UTC (permalink / raw)
To: u-boot
In message <002401c2f1cc$47ede2b0$3002a8c0@yigitcan> you wrote:
> I am using Denx ELDK
>
> For debug of ppcboot:
> The Commands I wrote and responses are :
>
> #ppc_8xx-gdb ppcboot
Which is your current directory when you enter this comand? Where did you build the ppcboot binary?
> =>dir /opt/eldk/ppc_8xx/usr/src/ppcboot-1.2.1
> directory searched ...
Why are you entering this command? If you built thePPCBoot binary in
this directory, it should not be necessary, since GDB will
automatically use $cdir:$cwd as it's directory search. If you built
PPCBoot in a different directory and use this as current directory
the command should not be necessary either for the same reason.
> =>l
>
> 1 {standard input}: No such file or directory.
> in {standard input}
You are not running the program yet. No source file is being executed
yet. You cannot show other information like registers, either:
(gdb) info registers
The program has no registers now.
(gdb) print $pc
No registers.
> what can i do with this error
> I can see -g option in compilation logs
Start the program (by attaching to a remote target and "continue"),
and everything will be well :-)
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
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower. - Terry Pratchett, _Mort_
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-24 13:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24 13:46 [U-Boot-Users] Debug problem? Yigit Can
-- strict thread matches above, loose matches on Subject: below --
2003-03-24 10:00 Yigit Can
2003-03-21 11:18 [U-Boot-Users] bdigdb problem? Yigit Can
2003-03-24 6:12 ` [U-Boot-Users] Debug problem? Yigit Can
2003-03-24 8:05 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox