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]

[RFA/win32] move win32_xfer_shared_library to (new) win32-tdep...


Hello,

This patch moves the win32_xfer_shared_library function to a file
that is not specific to the target CPU.  I introduced win32-tdep,
to follow the naming scheme used by win32-nat, even though these
file can also work on 64bit windows.

2009-01-10  Joel Brobecker  <brobecker@adacore.com>

        * win32-tdep.h, win32-tdep.c: New files.
        * i386-cygwin-tdep.h: Delete.
        * i386-cygwin-tdep.c: Include win32-tdep.h instead of
        i386-cygwin-tdep.h.
        (win32_xfer_shared_library): Delete.  Moved to win32-tdep.c.
        * win32-nat.c: Likewise.
        * configure.tgt: Add win32-tdep.o to the list of target object
        files for i386-cygwin and i386-mingw targets.

Tested on x86-windows. OK to apply?

Thank you,
-- 
Joel

Attachment: solib_ops.diff
Description: Text document


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