From 7e63b4e466c57fbcaaf1caa1ca7be1a8ed129934 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sun, 11 Jan 2009 04:13:57 +0000 Subject: * 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. --- gdb/windows-nat.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gdb/windows-nat.h (limited to 'gdb/windows-nat.h') diff --git a/gdb/windows-nat.h b/gdb/windows-nat.h new file mode 100644 index 0000000..6b8287d --- /dev/null +++ b/gdb/windows-nat.h @@ -0,0 +1,24 @@ +/* Copyright 2008, 2009 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef WIN32_NAT_H +#define WIN32_NAT_H + +extern void win32_set_context_register_offsets (const int *offsets); + +#endif + -- cgit v1.1