diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-22 12:48:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-22 12:48:23 +0000 |
commit | aef9bcd2e745b304d13f147cce75a8ce481cfc4b (patch) | |
tree | 3e0161c57510aec514ebbe68099887811f926f40 /gdb | |
parent | 89320c4c5d40be61322673d0a25e6f5326d74c59 (diff) | |
download | gdb-aef9bcd2e745b304d13f147cce75a8ce481cfc4b.zip gdb-aef9bcd2e745b304d13f147cce75a8ce481cfc4b.tar.gz gdb-aef9bcd2e745b304d13f147cce75a8ce481cfc4b.tar.bz2 |
2003-07-22 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
get_frame_base.
(FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
(struct value): Add opaque declaration.
(DEPRECATED_FRAME_ARGS_ADDRESS): Delete.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/config/pa/tm-hppa64.h | 16 |
2 files changed, 15 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a3dc614..5438b69 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2003-07-22 Andrew Cagney <cagney@redhat.com> + + * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use + get_frame_base. + (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. + (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. + (struct value): Add opaque declaration. + (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. + 2003-07-21 Andrew Cagney <cagney@redhat.com> From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: diff --git a/gdb/config/pa/tm-hppa64.h b/gdb/config/pa/tm-hppa64.h index cb60a13..e996802 100644 --- a/gdb/config/pa/tm-hppa64.h +++ b/gdb/config/pa/tm-hppa64.h @@ -22,6 +22,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ struct type; +struct value; struct frame_info; /* PA 64-bit specific definitions. Override those which are in @@ -282,11 +283,6 @@ extern CORE_ADDR hppa_frame_saved_pc (struct frame_info *frame); #endif #if !GDB_MULTI_ARCH -extern CORE_ADDR hppa_frame_args_address (struct frame_info *fi); -#define DEPRECATED_FRAME_ARGS_ADDRESS(fi) hppa_frame_args_address (fi) -#endif - -#if !GDB_MULTI_ARCH extern CORE_ADDR hppa_frame_locals_address (struct frame_info *fi); #define DEPRECATED_FRAME_LOCALS_ADDRESS(fi) hppa_frame_locals_address (fi) #endif @@ -434,7 +430,7 @@ extern const char *hppa64_register_name (int i); alloca; for those, we may need to consult unwind tables. jimb: FIXME. */ #undef DEPRECATED_FRAME_LOCALS_ADDRESS -#define DEPRECATED_FRAME_LOCALS_ADDRESS(fi) ((fi)->frame) +#define DEPRECATED_FRAME_LOCALS_ADDRESS(fi) (get_frame_base (fi)) /* For a number of horrible reasons we may have to adjust the location of variables on the stack. Ugh. jimb: why? */ @@ -601,13 +597,13 @@ call_dummy #undef FRAME_SAVED_PC_IN_SIGTRAMP #define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \ { \ - *(TMP) = read_memory_integer ((FRAME)->frame + (24 * 4) + 640 + (33 * 8), 8); \ + *(TMP) = read_memory_integer (get_frame_base (FRAME) + (24 * 4) + 640 + (33 * 8), 8); \ } #undef FRAME_BASE_BEFORE_SIGTRAMP #define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \ { \ - *(TMP) = read_memory_integer ((FRAME)->frame + (24 * 4) + 640 + (30 * 8), 8); \ + *(TMP) = read_memory_integer (get_frame_base (FRAME) + (24 * 4) + 640 + (30 * 8), 8); \ } #undef FRAME_FIND_SAVED_REGS_IN_SIGTRAMP @@ -615,8 +611,8 @@ call_dummy { \ int i; \ CORE_ADDR TMP1, TMP2; \ - TMP1 = (FRAME)->frame + (24 * 4) + 640; \ - TMP2 = (FRAME)->frame + (24 * 4) + 256; \ + TMP1 = get_frame_base (FRAME) + (24 * 4) + 640; \ + TMP2 = get_frame_base (FRAME) + (24 * 4) + 256; \ for (i = 0; i < NUM_REGS; i++) \ { \ if (i == SP_REGNUM) \ |