aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-hppah.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-12-22 03:21:54 +0000
committerStu Grossman <grossman@cygnus>1992-12-22 03:21:54 +0000
commite5e6b6b14d81d691645114e414181e3681d3e6b4 (patch)
treef515c2826141c6adb8e4909672b52e6eefa916c7 /gdb/tm-hppah.h
parent9f739abdacc530b319f71e627a766d030ab7268a (diff)
downloadgdb-e5e6b6b14d81d691645114e414181e3681d3e6b4.zip
gdb-e5e6b6b14d81d691645114e414181e3681d3e6b4.tar.gz
gdb-e5e6b6b14d81d691645114e414181e3681d3e6b4.tar.bz2
* tm-hppah.h: #define NEED_TEXT_START_END for target memory
read/write routines for HPUX.
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