Compile gdbserver for powerpc

Lucinda Schafer lucsch at
Wed Jun 21 01:35:21 EST 2000

>From Graham Stoney's "Linux for PowerPC Embedded Systems HOWTO/FAQ", Section

18.2 GDB
Once the kernel is running, you can use gdb in several ways:

If you have lots of RAM, you can run it directly on your target. If you are
cross developing, you need to configure gdb with:
% configure --host=powerpc-linux

You can run gdbserver on your target and run gdb back on your development
machine, even if you're cross developing. This requires far less resources
than running all of gdb on your target. See the thread at :
(I did not see anything here about GDB--les)

Get gdbserver, and see the enclosed README at: (I could not
connect to this--les)
If you're cross-developing, remember to configure your gdb as described

18.3 Kernel
It is not currently possible to use gdb for kenel debugging.
Hope this points you in the right direction.

Lucinda Schafer
Staff Software Engineer
Adaptive Micro-Ware, Inc.

-----Original Message-----
From: interface.etd1 [mailto:interface.etd1 at]
Sent: Tuesday, June 20, 2000 10:00 AM
To: linuxppc-embedded at
Subject: Compile gdbserver for powerpc


I want to debug on an embedded powerpc board from my intel pc.

I don't know if I must use gdbserver or simply gdb on target to debug via
I have no ppcbug on my board.

How can I compile gdb with host and target set to powerpc on my intel board

When I want to compile gdbserser 4.18 on my pc, gdbserver directory is not
created and no executable is generated !!!

Thanks for your help.

G. Guével

ZI N°2 des Pays Bas 29510 Briec de l'Odet
interface.etd1 at

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list