From 408400e7f61453203c3e294ba75649bc1fce0b2f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 9 Dec 2002 02:44:52 +0000 Subject: 2002-12-08 Andrew Cagney * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration. * dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer. --- gdb/config/rs6000/tm-rs6000.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/config/rs6000') 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 */ -- cgit v1.1