This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
gdbserver/windows: DLL load/unload simplification
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 24 Feb 2014 15:21:11 -0800
- Subject: gdbserver/windows: DLL load/unload simplification
- Authentication-results: sourceware.org; auth=none
Hello,
As promised in...
[Windows] DLL load/unload events during inferior startup cleanup
https://www.sourceware.org/ml/gdb-patches/2014-02/msg00292.html
... this is the GDBserver counterpart.
- Patch #1 is the equivalent of GDB's patch #1.
- Patch #2 is just a factorization. Ideally, I would have done it
before patch #1, but I noticed the issue during patch #1's testing.
I don't think it's really crucial that patch #1 introduces a
temporary duplication of a few bytes, so I left it at that.
- Patch #3 is the equivalent of GDB's patch #2.
It's particularly neat to see so much code go away.
- There is no equivalent of GDB's patch #3, as the latter was about
a feature that appears to be absent from GDBserver (ie, determining
the name of the executable when not passed on the command-line).
Each test was individually tested on x86-windows.