Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Unified Diff: gdb/ppcfbsd-tdep.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/ppcfbsd-nat.c ('k') | gdb/ppcfbsd-tdep.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « gdb/ppcfbsd-nat.c ('k') | gdb/ppcfbsd-tdep.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698