Re: [RFA] nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing

Tom Tromey
2013-12-12T22:06:38Z

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> which is good enough for our purposes. But for the second issue,
Joel> I only had a handful of bad options for our current situation:
Joel> 1. Import the module from gnulib; but that's never an innocent
Joel> change, and also the documentation says that it does not work
Joel> for Windows paths;
Joel> 2. Import the libiberty module by hand, which itself depends on
Joel> their safe-ctype.h module.
Joel> 3. Write a quick ad hoc function that implements basename.

Now that we are on git and can move stuff around without much hassle, I
think it's a good time for someone to tackle rearranging the tree a bit
so that this artificial "gdbserver cannot use libiberty" restriction can
be lifted.

I think this means turning common into a real library (itself a bit
tricky due to the #ifs) and moving the gnulib, common, target and
gdbserver directories to top-level.

Tom