aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-vax.h
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/xm-vax.h
parent25fa8f539f9d262ed463ab3857193f0bdda9331f (diff)
downloadgdb-62853f8052a6089e12c7fd6184abb8696ad9c850.zip
gdb-62853f8052a6089e12c7fd6184abb8696ad9c850.tar.gz
gdb-62853f8052a6089e12c7fd6184abb8696ad9c850.tar.bz2
* 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/xm-vax.h')
-rw-r--r--gdb/xm-vax.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/xm-vax.h b/gdb/xm-vax.h
index 28df3cd..9da7306 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.