aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/linux-m68k-low.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index ac3b1f4..9a02977 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-04 Andreas Schwab <schwab@suse.de>
+
+ * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31.
+
2003-01-02 Andrew Cagney <ac131313@redhat.com>
* Makefile.in: Remove obsolete code.
diff --git a/gdb/gdbserver/linux-m68k-low.c b/gdb/gdbserver/linux-m68k-low.c
index 760de6e..b49a8c9 100644
--- a/gdb/gdbserver/linux-m68k-low.c
+++ b/gdb/gdbserver/linux-m68k-low.c
@@ -1,5 +1,5 @@
/* GNU/Linux/m68k specific low level interface, for the remote server for GDB.
- Copyright 1995, 1996, 1998, 1999, 2000, 2001, 2002
+ Copyright 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of GDB.
@@ -26,7 +26,7 @@
#include <sys/reg.h>
#endif
-#define m68k_num_regs 31
+#define m68k_num_regs 29
/* This table must line up with REGISTER_NAMES in tm-m68k.h */
static int m68k_regmap[] =