Skip to contentSkip to conversation

gdbserver ?

DISCUSSION Wolfgang Denk 3 participants 3 messages Nov 5, 1999 – Nov 6, 1999

lore
Share & tools
lore
#0 lore raw

Hi,

has anybody ever tried to build gdbserver for a PPC target?

Are thare any ready-to-use binaries available?

Wolfgang Denk

Signature · 7 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: [email protected]
Ninety-Ninety Rule of Project Schedules:
        The first ninety percent of the task takes ninety percent of
the time, and the last ten percent takes the other ninety percent.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
#1 lore raw
Quoted 1 line · Wolfgang Denk

has anybody ever tried to build gdbserver for a PPC target?

I placed a tar image of just the gdbserver sub-directory on ppc.kernel.org. It is in the embedded directory. The binary is built for an R4 system. The code is from a 4.17 version of gdb. I believe all of the changes are in low-linux.c.

It works with the latest kernels, and I also built an out-of-the-box version of Cygnus Insight on a LinuxPPC 1999 host that worked fine with it.

I hope someone that knows more about this than I can make these changes look prettier and ensure it finds its way into a standard release.

Have fun.

	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 7 lines · Dan Malek
Quoted 1 line

has anybody ever tried to build gdbserver for a PPC target?

I placed a tar image of just the gdbserver sub-directory on ppc.kernel.org. It is in the embedded directory. The binary is built for an R4 system. The code is from a 4.17 version of gdb. I believe all of the changes are in low-linux.c.

Quoted 6 lines

It works with the latest kernels, and I also built an out-of-the-box version of Cygnus Insight on a LinuxPPC 1999 host that worked fine with it.

I hope someone that knows more about this than I can make these changes look prettier and ensure it finds its way into a standard release.

Dan,

Send me your patches and I'll see what I can do. If you don't have a copyright assignment on file with the FSF, you'll need to fill one out before I can incorporate your changes though. (Yes, I know it's a hassle.)

Thanks,

Kevin

Signature · 4 lines
Kevin Buettner
[email protected], [email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/