From 2ca6c561875beb2a062b218f81ebf30e2dd7ec9c Mon Sep 17 00:00:00 2001 From: Andrew Cagney <cagney@redhat.com> Date: Fri, 6 Dec 2002 19:26:06 +0000 Subject: 2002-12-06 Andrew Cagney <ac131313@redhat.com> * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Rename INIT_FRAME_PC_FIRST. Change to a function with predicate. Do not provide a default value. * gdbarch.h, gdbarch.c: Regenerate. * frame.c (get_prev_frame): Update. Check DEPRECATED_INIT_FRAME_PC_FIRST_P. * s390-tdep.c (s390_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. --- gdb/config/rs6000/tm-rs6000.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/config/rs6000/tm-rs6000.h') diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h index 478e9bd..30f8486 100644 --- a/gdb/config/rs6000/tm-rs6000.h +++ b/gdb/config/rs6000/tm-rs6000.h @@ -78,7 +78,7 @@ extern void aix_process_linenos (void); /* Define other aspects of the stack frame. */ -#define INIT_FRAME_PC_FIRST(fromleaf, prev) \ +#define DEPRECATED_INIT_FRAME_PC_FIRST(fromleaf, prev) \ prev->pc = (fromleaf ? SAVED_PC_AFTER_CALL (prev->next) : \ prev->next ? FRAME_SAVED_PC (prev->next) : read_pc ()); #define INIT_FRAME_PC(fromleaf, prev) /* nothing */ -- cgit v1.1