diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-27 17:27:17 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-27 17:27:17 +0000 |
commit | 222e5d1d25fb8c9977938c8581f37984c33d5f83 (patch) | |
tree | a63899553d68d3bbcf70ed0f5cf5b3cfc9a553b1 /gdb/infcall.c | |
parent | a7e9a47e428435fd977c4701a3014af00791bf42 (diff) | |
download | gdb-222e5d1d25fb8c9977938c8581f37984c33d5f83.zip gdb-222e5d1d25fb8c9977938c8581f37984c33d5f83.tar.gz gdb-222e5d1d25fb8c9977938c8581f37984c33d5f83.tar.bz2 |
2003-07-27 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa.h (init_frame_pc_default): Declare.
* infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update
REAL_PC and not the pointer.
* hppa-hpux-tdep.c: Include frame.h
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 123fba0..477fc0f 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -274,8 +274,8 @@ legacy_push_dummy_code (struct gdbarch *gdbarch, with the values. Instead a DEPRECATED_FIX_CALL_DUMMY replacement (PUSH_DUMMY_BREAKPOINT?) should just do everything. */ #ifdef GDB_TARGET_IS_HPPA - real_pc = DEPRECATED_FIX_CALL_DUMMY (dummy1, start_sp, funaddr, nargs, args, - value_type, using_gcc); + (*real_pc) = DEPRECATED_FIX_CALL_DUMMY (dummy1, start_sp, funaddr, nargs, + args, value_type, using_gcc); #else if (DEPRECATED_FIX_CALL_DUMMY_P ()) { |