2003-09-27 Andrew Cagney <cagney@redhat.com>
* 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.
This commit is contained in:
parent
30a7295910
commit
0968aa8cf6
13 changed files with 29 additions and 13 deletions
|
@ -1,3 +1,19 @@
|
|||
2003-09-27 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* 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 <kettenis@gnu.org>
|
||||
|
||||
* regset.h: New file.
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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: */
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue