From 0968aa8cf6304ca3a9320ea06a627a7213a9e65b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 27 Sep 2003 15:51:03 +0000 Subject: [PATCH] 2003-09-27 Andrew Cagney * arch-utils.c (deprecated_init_frame_pc_default): Rename "init_frame_pc_default". * arch-utils.h (deprecated_init_frame_pc_default): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sh64-tdep.c (sh64_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. --- gdb/ChangeLog | 16 ++++++++++++++++ gdb/arch-utils.c | 2 +- gdb/arch-utils.h | 2 +- gdb/config/pa/tm-hppa.h | 4 ++-- gdb/cris-tdep.c | 2 +- gdb/h8300-tdep.c | 2 +- gdb/mcore-tdep.c | 2 +- gdb/ns32k-tdep.c | 2 +- gdb/s390-tdep.c | 2 +- gdb/sh64-tdep.c | 2 +- gdb/v850-tdep.c | 2 +- gdb/vax-tdep.c | 2 +- gdb/xstormy16-tdep.c | 2 +- 13 files changed, 29 insertions(+), 13 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ebd42430771..469109d4a8b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,19 @@ +2003-09-27 Andrew Cagney + + * arch-utils.c (deprecated_init_frame_pc_default): Rename + "init_frame_pc_default". + * arch-utils.h (deprecated_init_frame_pc_default): Update. + * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. + * vax-tdep.c (vax_gdbarch_init): Update. + * v850-tdep.c (v850_gdbarch_init): Update. + * sh64-tdep.c (sh64_gdbarch_init): Update. + * s390-tdep.c (s390_gdbarch_init): Update. + * ns32k-tdep.c (ns32k_gdbarch_init): Update. + * mcore-tdep.c (mcore_gdbarch_init): Update. + * h8300-tdep.c (h8300_gdbarch_init): Update. + * cris-tdep.c (cris_gdbarch_init): Update. + * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. + 2003-09-26 Mark Kettenis * regset.h: New file. diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index db3bae115fc..3f0295a435f 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -228,7 +228,7 @@ no_op_reg_to_regnum (int reg) } CORE_ADDR -init_frame_pc_default (int fromleaf, struct frame_info *prev) +deprecated_init_frame_pc_default (int fromleaf, struct frame_info *prev) { if (fromleaf && DEPRECATED_SAVED_PC_AFTER_CALL_P ()) return DEPRECATED_SAVED_PC_AFTER_CALL (get_next_frame (prev)); diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index 68de221babe..c0d79ecaea5 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -85,7 +85,7 @@ extern int no_op_reg_to_regnum (int reg); /* Versions of init_frame_pc(). Do nothing; do the default. */ -extern CORE_ADDR init_frame_pc_default (int fromleaf, struct frame_info *prev); +extern CORE_ADDR deprecated_init_frame_pc_default (int fromleaf, struct frame_info *prev); /* Do nothing version of elf_make_msymbol_special. */ diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index 751101d50b4..8a34c233d9a 100644 --- a/gdb/config/pa/tm-hppa.h +++ b/gdb/config/pa/tm-hppa.h @@ -35,8 +35,8 @@ #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)) +extern CORE_ADDR deprecated_init_frame_pc_default (int fromleaf, struct frame_info *prev); +#define DEPRECATED_INIT_FRAME_PC(l,f) (deprecated_init_frame_pc_default (l, f)) /* Forward declarations of some types we use in prototypes */ diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index a3cfe601982..e42b24bcc20 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -4126,7 +4126,7 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); tdep->cris_version = cris_version; tdep->cris_mode = cris_mode; diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 09fb6a169c1..e155e75ae2e 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -1269,7 +1269,7 @@ h8300_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); /* * Basic register fields and methods. diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c index 330901395cf..09779841eba 100644 --- a/gdb/mcore-tdep.c +++ b/gdb/mcore-tdep.c @@ -1057,7 +1057,7 @@ mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); /* Registers: */ diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c index 7b4a01c8423..00c204fb5c0 100644 --- a/gdb/ns32k-tdep.c +++ b/gdb/ns32k-tdep.c @@ -542,7 +542,7 @@ ns32k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); /* Register info */ ns32k_gdbarch_init_32082 (gdbarch); diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index eb267c6774a..a918148e8e7 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -2570,7 +2570,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); set_gdbarch_believe_pcc_promotion (gdbarch, 0); set_gdbarch_char_signed (gdbarch, 0); diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index 3ea518cd245..f61223fd3df 100644 --- a/gdb/sh64-tdep.c +++ b/gdb/sh64-tdep.c @@ -2848,7 +2848,7 @@ sh64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); /* Determine the ABI */ if (info.abfd && bfd_get_arch_size (info.abfd) == 64) diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 030e2010fe7..27730d539ea 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -1213,7 +1213,7 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); for (i = 0; v850_processor_type_table[i].regnames != NULL; i++) { diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c index 03a50a07988..1d90234109d 100644 --- a/gdb/vax-tdep.c +++ b/gdb/vax-tdep.c @@ -348,7 +348,7 @@ vax_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); /* Register info */ set_gdbarch_num_regs (gdbarch, VAX_NUM_REGS); diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index 47403546374..544cdc8daf3 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -1026,7 +1026,7 @@ xstormy16_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* NOTE: cagney/2002-12-06: This can be deleted when this arch is ready to unwind the PC first (see frame.c:get_prev_frame()). */ - set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); /* * Basic register fields and methods. -- 2.30.2