[RFA/win32] move "mappings" array to a 32bit-specific nat file

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Sat Jan 10 16:49:00 GMT 2009


On Sat, Jan 10, 2009 at 11:31:51AM +0400, Joel Brobecker wrote:
>Hello,
>
>This patch introduces a new file i386-windows-nat.c to hold the few
>parts of win32-nat that are actually dependent on the host CPU.
>So far, I only detected one item, which is the "mappings" array.
>
>2009-01-10  Joel Brobecker  <brobecker@adacore.com>
>
>        * win32-nat.h: New file.
>        * win32-nat.c (mappings): Initialize to NULL.
>        (win32_set_context_register_offsets): New function.
>        * i386-windows-nat.c: New file.
>        (mappings): Moved here from win32-nat.c.
>        (_initialize_i386_windows_nat): New function.
>        * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
>        * config/i386/cygwin.mh (NATDEPFILES): Likewise.
>
>Tested on x86-windows.
>OK to apply?

This is ok.

cgf



More information about the Gdb-patches mailing list