aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-hppah.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tm-hppah.h')
-rw-r--r--gdb/tm-hppah.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/tm-hppah.h b/gdb/tm-hppah.h
index 130365d..42632ef 100644
--- a/gdb/tm-hppah.h
+++ b/gdb/tm-hppah.h
@@ -37,3 +37,9 @@ extern CORE_ADDR millicode_start, millicode_end;
&& get_frame_pc (frame) < millicode_end) ? \
read_register (31) & ~3 \
: read_register (RP_REGNUM) & ~3)
+
+/* We need to figure out where the text region is so that we use the
+ appropriate ptrace operator to manipulate text. Simply reading/writing
+ user space will crap out HPUX. */
+
+#define NEED_TEXT_START_END