This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
gnulib dependency in gdbserver
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb at sourceware dot org
- Date: Wed, 25 Jun 2008 15:16:21 -0400
- Subject: gnulib dependency in gdbserver
I just realized that gdbserver now depends on ../gnulib. The problem
is ../gnulib has been configured by and for gdb, not gdbserver. So
if one wants to just build gdbserver, or if the host/target configuration
for gdb and gdbserver are different, then things may not work.
In my particular case, I'm working on a GDB hosted on Solaris cross
ppc-lynxos, and then cross-build gdbserver to run on ppc-lynxos.
I get an error because the stdint.h file doesn't work (SIZE_MAX
is missing).
I don't see any other way but making an additional copy of gnulib
inside gdbserver. I really hate the idea; even though it seems that
this is the way that the project was designed to be used, it means
that we have to be careful to update two copies if a file is
duplicated twice...
Any suggestion?
Thanks,
--
Joel