This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 12 Dec 2013 15:06:32 -0700
- Subject: Re: [RFA] nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing
- Authentication-results: sourceware.org; auth=none
- References: <1386070185-8020-1-git-send-email-brobecker at adacore dot com> <529E361B dot 7070807 at redhat dot com> <20131205105437 dot GE3175 at adacore dot com> <52A073CC dot 3050009 at redhat dot com> <20131209113333 dot GC4011 at adacore dot com> <20131210105624 dot GA14056 at adacore dot com> <52A719F1 dot 6060906 at redhat dot com> <52A71DDC dot 2080908 at redhat dot com> <20131212181843 dot GB3528 at adacore dot com>
>>>>> "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