This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Small m68k cleanup
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 30 Apr 2004 23:47:02 +0200 (CEST)
- Subject: [PATCH] Small m68k cleanup
REMOTE_BPT_VECTOR isn't referenced anywhere else in the source, so
this patch nukes it.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
Index: m68k-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m68k-tdep.c,v
retrieving revision 1.82
diff -u -p -r1.82 m68k-tdep.c
--- m68k-tdep.c 18 Apr 2004 13:03:13 -0000 1.82
+++ m68k-tdep.c 30 Apr 2004 21:45:45 -0000
@@ -64,11 +64,6 @@
#define BPT_VECTOR 0xf
#endif
-#if !defined (REMOTE_BPT_VECTOR)
-#define REMOTE_BPT_VECTOR 1
-#endif
-
-
static const unsigned char *
m68k_local_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
{
Index: config/m68k/tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/tm-nbsd.h,v
retrieving revision 1.6
diff -u -p -r1.6 tm-nbsd.h
--- config/m68k/tm-nbsd.h 23 Mar 2004 15:16:42 -0000 1.6
+++ config/m68k/tm-nbsd.h 30 Apr 2004 21:45:45 -0000
@@ -27,7 +27,6 @@
/* Define BPT_VECTOR if it is different than the default.
This is the vector number used by traps to indicate a breakpoint. */
#define BPT_VECTOR 0xf
-#define REMOTE_BPT_VECTOR 0xf
/* Address of end of stack space. */
#define STACK_END_ADDR USRSTACK