aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-07-27 17:27:17 +0000
committerAndrew Cagney <cagney@redhat.com>2003-07-27 17:27:17 +0000
commit222e5d1d25fb8c9977938c8581f37984c33d5f83 (patch)
treea63899553d68d3bbcf70ed0f5cf5b3cfc9a553b1 /gdb/config
parenta7e9a47e428435fd977c4701a3014af00791bf42 (diff)
downloadgdb-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/config')
-rw-r--r--gdb/config/pa/tm-hppa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index 3d0d3f1..7729518 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -35,6 +35,9 @@
#define DEPRECATED_USE_GENERIC_DUMMY_FRAMES 0
#define CALL_DUMMY_LOCATION ON_STACK
#define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
+/* Hack, get around problem with including "arch-utils.h". */
+struct frame_info;
+extern CORE_ADDR init_frame_pc_default (int fromleaf, struct frame_info *prev);
#define DEPRECATED_INIT_FRAME_PC(l,f) (init_frame_pc_default (l, f))
/* Forward declarations of some types we use in prototypes */