* tm-hppah.h: #define NEED_TEXT_START_END for target memory

read/write routines for HPUX.
This commit is contained in:
Stu Grossman
1992-12-22 03:21:54 +00:00
parent 9f739abdac
commit e5e6b6b14d
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Mon Dec 21 18:02:35 1992 Stu Grossman (grossman at cygnus.com) 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 * hppa-pinsn.c (print_insn): Improve handling of be and ble
branch targets to compute target address using const from previous branch targets to compute target address using const from previous
instruction if necessary. instruction if necessary.

View File

@ -37,3 +37,9 @@ extern CORE_ADDR millicode_start, millicode_end;
&& get_frame_pc (frame) < millicode_end) ? \ && get_frame_pc (frame) < millicode_end) ? \
read_register (31) & ~3 \ read_register (31) & ~3 \
: read_register (RP_REGNUM) & ~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