aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/tm-hppah.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f050aa9..8cf862f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Mon Dec 21 18:02:35 1992 Stu Grossman (grossman at cygnus.com)
+ * tm-hppah.h: #define NEED_TEXT_START_END for target memory
+ read/write routines for HPUX.
+
* hppa-pinsn.c (print_insn): Improve handling of be and ble
branch targets to compute target address using const from previous
instruction if necessary.
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