This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GdbServer: is it compiled?
- From: Michael Snyder <msnyder at specifix dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Geert Vancompernolle <geert dot vancompernolle at gmail dot com>, gdb at sourceware dot org
- Date: Tue, 13 May 2008 11:24:48 -0700
- Subject: Re: GdbServer: is it compiled?
- References: <4829D134.5030500@gmail.com> <20080513174053.GA7925@caradoc.them.org>
On Tue, 2008-05-13 at 13:40 -0400, Daniel Jacobowitz wrote:
> On Tue, May 13, 2008 at 07:34:44PM +0200, Geert Vancompernolle wrote:
> > When compiling Insight for a certain host and target, is gdbserver also
> > compiled? I've seen the sources are there, but I don't know if the
> > application is compiled, because I can't find it.
>
> No, if you are building a cross debugger, then it is a program to run
> on your host. You want gdbserver to run on your target, so it needs
> different configuration options. Configure it separately; see
> gdb/gdbserver/README for details.
That's not quite right, I think...
Whether to build gdbserver is configured by gdb/configure.tgt,
depending on which target is chosen. It gets added to the
build_subdirs in the makefile.
Or so I think...