| Index: gdb/ppcfbsd-tdep.h
|
| diff --git a/gdb/gdbserver/wincecompat.h b/gdb/ppcfbsd-tdep.h
|
| similarity index 67%
|
| copy from gdb/gdbserver/wincecompat.h
|
| copy to gdb/ppcfbsd-tdep.h
|
| index 631a95acda7357464bc6dcae2363ac327c2631d5..97d58741eaf48bc586172971bd5daf06f693429c 100644
|
| --- a/gdb/gdbserver/wincecompat.h
|
| +++ b/gdb/ppcfbsd-tdep.h
|
| @@ -1,5 +1,6 @@
|
| -/* Compatibility routines for Windows CE.
|
| - Copyright (C) 2007-2012 Free Software Foundation, Inc.
|
| +/* Target-dependent code for GDB on PowerPC systems running FreeBSD.
|
| +
|
| + Copyright (C) 2013 Free Software Foundation, Inc.
|
|
|
| This file is part of GDB.
|
|
|
| @@ -16,15 +17,13 @@
|
| You should have received a copy of the GNU General Public License
|
| along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
| -#ifndef WINCECOMPAT_H
|
| -#define WINCECOMPAT_H
|
| -
|
| -#include <windows.h>
|
| +#ifndef PPCFBSD_TDEP_H
|
| +#define PPCFBSD_TDEP_H
|
|
|
| -#define errno (GetLastError ())
|
| +struct regset;
|
|
|
| -/* in win32-low.c */
|
| -extern char * strwinerror (DWORD error);
|
| -#define strerror strwinerror
|
| +/* From ppcfbsd-tdep.c ... */
|
| +const struct regset *ppc_fbsd_gregset (int);
|
| +const struct regset *ppc_fbsd_fpregset (void);
|
|
|
| -#endif
|
| +#endif /* PPCFBSD_TDEP_H */
|
|
|