This is the mail archive of the gdb-patches@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]

gdbserver/windows: DLL load/unload simplification


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.


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