GDB, xilinx ml50x
Hello all. I am having difficulty getting gdb6.8 and gdbserver functioning on a xilinx ml507 evaluation board running linux-2.6-xlnx.git. Has anyone done this successfully? I can get gdb to run a small application but hitting a breakpoint (or stepping) results in a dead PPC core. Perhaps someone has had success with the Xilinx provided powerpc-eabi-gdb.exe? Is the this and the gdbserver built into XMD intended for debugging linux applications? Thanks in advance for your good counsel.
Signature · 2 lines
View this message in context: http://www.nabble.com/GDB%2C-xilinx-ml50x-tp20233115p20233115.html Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Hi Stuart,
Most of my work is in the kernel rather than user space, but I've used old GDB versions a small amount. I'm copying Brian as he has used it more than myself.
Did you get older versions of GDB to work but not the 6.8?
Did you build GDB yourself or using prebuilt?
With regards to using the eabi gdb with the EDK, my understanding (not an expert) is that the Linux ABI is not the same as EABI such that you might get some things to work but not all. Sorry for the fuzzy answer there.
Thanks,
John
Quoted 2 lines
-----Original Message-----
From: [email protected]
[mailto:linuxppc-embedded-
Quoted 9 lines
[email protected]] On Behalf Of Stuart Bershtein
Sent: Wednesday, October 29, 2008 12:32 PM
To: [email protected]
Subject: GDB, xilinx ml50x
==
Hello all. I am having difficulty getting gdb6.8 and gdbserver
functioning
Quoted 1 line
on a xilinx ml507 evaluation board running linux-2.6-xlnx.git. Has
anyone
Quoted 2 lines
done this successfully? I can get gdb to run a small application but hitting a breakpoint (or stepping) results in a dead PPC core.
Perhaps
Quoted 1 line
someone has had success with the Xilinx provided powerpc-eabi-gdb.exe?
Is
Quoted 4 lines
the this and the gdbserver built into XMD intended for debugging linux applications? Thanks in advance for your good counsel.
--
View this message in context:
http://www.nabble.com/GDB%2C-xilinx-ml50x-tp20233115p20233115.html
Quoted 7 lines
Sent from the linuxppc-embedded mailing list archive at Nabble.com. =
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.
Hello John,
Quoted 1 line
Did you get older versions of GDB to work but not the 6.8?
For the server (where the problem _seems_ to lie), I just have gdbserver 6.= 8 built from sources and that's all I've ever tried.
Quoted 1 line
but I've used old GDB versions a small amount
Any idea what version? If you have an executable that you could zip up and=
send me I'd like to try it.
Quoted 1 line
With regards to using the eabi gdb with the EDK, my understanding (not an=
expert) is that the Linux ABI is not the same as EABI
I've been talked out of using this in any case. I've plenty of [--host=3Dx= 86_64-unknown-linux-gnu --target=3Dpowerpc-linux] versions of gdb (client) = around and they all behave identically.
Thanks,
Stu
-----Original Message-----
From: John Linn [mailto:[email protected]]
Sent: Wednesday, October 29, 2008 12:00 PM
To: Stu Bershtein; [email protected]
Cc: Brian Hill
Subject: RE: GDB, xilinx ml50x
Hi Stuart,
Most of my work is in the kernel rather than user space, but I've used old GDB versions a small amount. I'm copying Brian as he has used it more than myself.
Did you get older versions of GDB to work but not the 6.8?
Did you build GDB yourself or using prebuilt?
With regards to using the eabi gdb with the EDK, my understanding (not an expert) is that the Linux ABI is not the same as EABI such that you might get some things to work but not all. Sorry for the fuzzy answer there.
Thanks,
John
Quoted 2 lines
-----Original Message-----
From: [email protected]
[mailto:linuxppc-embedded-
Quoted 7 lines
[email protected]] On Behalf Of Stuart Bershtein
Sent: Wednesday, October 29, 2008 12:32 PM
To: [email protected]
Subject: GDB, xilinx ml50xHello all. I am having difficulty getting gdb6.8 and gdbserver
functioning
Quoted 1 line
on a xilinx ml507 evaluation board running linux-2.6-xlnx.git. Has
anyone
Quoted 2 lines
done this successfully? I can get gdb to run a small application but hitting a breakpoint (or stepping) results in a dead PPC core.
Perhaps
Quoted 1 line
someone has had success with the Xilinx provided powerpc-eabi-gdb.exe?
Is
Quoted 4 lines
the this and the gdbserver built into XMD intended for debugging linux applications? Thanks in advance for your good counsel.
--
View this message in context:
http://www.nabble.com/GDB%2C-xilinx-ml50x-tp20233115p20233115.html
Quoted 6 lines
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.
A message that is not in the archive (sent off-list or not yet received): 689CB232690D8D4E97DA6C76DA098E6C06F7F572@XCO-EXCHVS1.xlnx.xilinx.com
Stuart,
I've successfully used GDB with our GIT Linux kernel. This was with a root file system I'd created using buildroot
(http://buildroot.uclibc.org/). Buildroot includes the option to build a gdbserver ("man gdbserver" for details of how to use this application) which can be run on the target. The XMD GDB server is most definitely _not_ suited to debugging a Linux process. I've used the XMD GDB server to look at global kernel data structures and the like -- and that is about all it could be used for.
-Brian
Quoted 8 lines
-----Original Message-----
From: John Linn
Sent: Wednesday, October 29, 2008 1:00 PM
To: Stuart Bershtein; [email protected]
Cc: Brian Hill
Subject: RE: GDB, xilinx ml50x
=
Quoted 4 lines
Hi Stuart,
=Most of my work is in the kernel rather than user space, but I've used
old
Quoted 11 lines
GDB versions a small amount. I'm copying Brian as he has used it more than myself.
=Did you get older versions of GDB to work but not the 6.8? =
Did you build GDB yourself or using prebuilt?
=With regards to using the eabi gdb with the EDK, my understanding (not
an
Quoted 1 line
expert) is that the Linux ABI is not the same as EABI such that you
might
Quoted 11 lines
get some things to work but not all. Sorry for the fuzzy answer there. =
Thanks,
John
=Quoted 2 lines
-----Original Message-----
From: [email protected][mailto:linuxppc-embedded-
Quoted 1 line
[email protected]] On Behalf Of Stuart
Bershtein
Quoted 10 lines
Quoted 6 lines
Sent: Wednesday, October 29, 2008 12:32 PM
To: [email protected]
Subject: GDB, xilinx ml50xHello all. I am having difficulty getting gdb6.8 and gdbserver
functioning
Quoted 1 line
on a xilinx ml507 evaluation board running linux-2.6-xlnx.git. Has
anyone
Quoted 1 line
done this successfully? I can get gdb to run a small application
but
Quoted 1 line
Quoted 1 line
hitting a breakpoint (or stepping) results in a dead PPC core.
Perhaps
Quoted 1 line
Quoted 1 line
someone has had success with the Xilinx provided
powerpc-eabi-gdb.exe?
Quoted 2 lines
Is
Quoted 1 line
the this and the gdbserver built into XMD intended for debugging
linux
Quoted 3 lines
Quoted 3 lines
applications? Thanks in advance for your good counsel. --
View this message in context:
http://www.nabble.com/GDB%2C-xilinx-ml50x-
Quoted 2 lines
tp20233115p20233115.html
Quoted 1 line
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.