This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]