how to compile to get a copy of gdbserver

Daniel Jacobowitz drow@mvista.com
Wed Aug 7 20:52:00 GMT 2002


On Wed, Aug 07, 2002 at 11:14:48AM -0700, Benjamin Tze-Kit Lee wrote:
> Hi,
> 
> I would like to get a copy of the gdbserver to do remote target debugging.
> Where could I get it, or how should I configure to complie the gdb 5.2.1
> source code so to make a copy of gdbserver?

If you build GDB on your target or using a cross compiler (if the
latter, you need target libraries, and to use --host=<target>) you will
get a gdbserver (assuming you use a supported target).

You can just run configure in the gdbserver directory and then make.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list