* breakpoint.c (insert_breakpoints): Restore warning about
authorJohn Gilmore <gnu@cygnus>
Mon, 9 Sep 1991 20:49:08 +0000 (20:49 +0000)
committerJohn Gilmore <gnu@cygnus>
Mon, 9 Sep 1991 20:49:08 +0000 (20:49 +0000)
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.

gdb/xm-hp300bsd.h
gdb/xm-mips.h
gdb/xm-vax.h

index fbbef6f..db06dbc 100644 (file)
@@ -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
 \f
 /* Interface definitions for kernel debugger KDB.  */
 
index 8709a88..caebda5 100644 (file)
@@ -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
 \f
 /* Interface definitions for kernel debugger KDB */
 
index 28df3cd..9da7306 100644 (file)
@@ -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.