aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/rs6000/tm-rs6000.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-09 02:44:52 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-09 02:44:52 +0000
commit408400e7f61453203c3e294ba75649bc1fce0b2f (patch)
tree6edc9f7605a54be8ea2e18735aeadffcab41a320 /gdb/config/rs6000/tm-rs6000.h
parent97f46953947f21e2b8f1cac99546b7d6b51a84cc (diff)
downloadgdb-408400e7f61453203c3e294ba75649bc1fce0b2f.zip
gdb-408400e7f61453203c3e294ba75649bc1fce0b2f.tar.gz
gdb-408400e7f61453203c3e294ba75649bc1fce0b2f.tar.bz2
2002-12-08 Andrew Cagney <ac131313@redhat.com>
* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration. * dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer.
Diffstat (limited to 'gdb/config/rs6000/tm-rs6000.h')
-rw-r--r--gdb/config/rs6000/tm-rs6000.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h
index 5109978..3f21bd7 100644
--- a/gdb/config/rs6000/tm-rs6000.h
+++ b/gdb/config/rs6000/tm-rs6000.h
@@ -81,6 +81,11 @@ extern void aix_process_linenos (void);
#define DEPRECATED_INIT_FRAME_PC_FIRST(fromleaf, prev) \
(fromleaf ? SAVED_PC_AFTER_CALL (prev->next) : \
prev->next ? FRAME_SAVED_PC (prev->next) : read_pc ())
+/* NOTE: cagney/2002-12-08: Add local declaration of
+ init_frame_pc_noop() because it isn't possible to include
+ "arch-utils.h" here. Not too bad as this entire file is going away
+ anyway. */
+extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
#define INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_noop (fromleaf, prev))
/* Flag for machine-specific stuff in shared files. FIXME */