gdbserver + libiberty?

Jim Blandy jimb@codesourcery.com
Wed Jan 16 21:42:00 GMT 2008


Daniel Jacobowitz <drow at false.org> writes:
> On Tue, Jan 15, 2008 at 10:41:37AM -0800, Doug Evans wrote:
>> I couldn't find any docs on building gdbserver for cross targets (i.e
>> --host != --target), got any pointers?  It's only useful for targets
>> that otherwise can be build natively (AIUIp.  Would gdbserver ever be
>> built with CC_FOR_TARGET whereas gdb got built with CC?  I can't find
>> any code to handle this in gdb or the top level configury.  And if not
>> would gdbserver ever need a different libiberty than the one gdb is
>> linked with?
>
> You can build gdbserver by running src/gdb/gdbserver/configure and make;
> the top level scripts are not involved at all, so you don't get a
> libiberty.  We need to not break that.

This is arcane magic; could we document it somewhere?  gdb.texinfo's
Appendix B describes "Installing GDB".  gdb/README also documents
configuration options, and has a section on gdbserver.



More information about the Gdb mailing list