summaryrefslogtreecommitdiffstats
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-09 20:49:08 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-09 20:49:08 +0000
commit62853f8052a6089e12c7fd6184abb8696ad9c850 (patch)
tree45474961e75a25c0202889f64344d4f88db0bee7 /gdb
parent25fa8f539f9d262ed463ab3857193f0bdda9331f (diff)
downloadppe42-binutils-62853f8052a6089e12c7fd6184abb8696ad9c850.tar.gz
ppe42-binutils-62853f8052a6089e12c7fd6184abb8696ad9c850.zip
* breakpoint.c (insert_breakpoints): Restore warning about
the program might be running in another process, but only for systems with this brain death (#ifdef ONE_PROCESS_WRITETEXT). * xm-hp300bsd.h, xm-mips.h, xm-vax.h: Define it.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/xm-hp300bsd.h2
-rw-r--r--gdb/xm-mips.h3
-rw-r--r--gdb/xm-vax.h3
3 files changed, 8 insertions, 0 deletions
diff --git a/gdb/xm-hp300bsd.h b/gdb/xm-hp300bsd.h
index fbbef6ffb5..db06dbc7ce 100644
--- a/gdb/xm-hp300bsd.h
+++ b/gdb/xm-hp300bsd.h
@@ -64,6 +64,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Compensate for lack of `vprintf' function. */
#define MISSING_VPRINTF
+/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
+#define ONE_PROCESS_WRITETEXT
/* Interface definitions for kernel debugger KDB. */
diff --git a/gdb/xm-mips.h b/gdb/xm-mips.h
index 8709a88b16..caebda5e5f 100644
--- a/gdb/xm-mips.h
+++ b/gdb/xm-mips.h
@@ -38,6 +38,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
#define FETCH_INFERIOR_REGISTERS
+
+/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
+#define ONE_PROCESS_WRITETEXT
/* Interface definitions for kernel debugger KDB */
diff --git a/gdb/xm-vax.h b/gdb/xm-vax.h
index 28df3cd63b..9da7306216 100644
--- a/gdb/xm-vax.h
+++ b/gdb/xm-vax.h
@@ -36,6 +36,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
if (regno == AP_REGNUM) addr = blockend - 0124; \
if (regno == SP_REGNUM) addr = blockend - 20; }
+/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
+#define ONE_PROCESS_WRITETEXT
+
/* Interface definitions for kernel debugger KDB. */
/* Map machine fault codes into signal numbers.
OpenPOWER on IntegriCloud