gnulib dependency in gdbserver
Daniel Jacobowitz
drow@false.org
Wed Jun 25 19:23:00 GMT 2008
On Wed, Jun 25, 2008 at 03:16:21PM -0400, Joel Brobecker wrote:
> 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).
How are you configuring? It sounds like you're trying to share an
object directory (same as srcdir?) for configured gdb and gdbserver;
instead, if you build them both in separate object directories, things
will just work out.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list