* frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
Delete. (frv_register_type): Rename from frv_register_virtual_type. Add ``struct gdbarch *'' parameter. (frv_gdbarch_init): Delete calls to the following functions: set_gdbarch_deprecated_size(), set_gdbarch_deprecated_register_bytes(), set_gdbarch_deprecated_register_raw_size(), set_gdbarch_deprecated_max_register_raw_size(), set_gdbarch_deprecated_register_virtual_size(), set_gdbarch_deprecated_max_register_virtual_size(), set_gdbarch_deprecated_register_virtual_size(), set_gdbarch_deprecated_register_virtual_type(). Add call to function set_gdbarch_register_type().
This commit is contained in:
parent
a8015998e8
commit
7f39821656
2 changed files with 21 additions and 21 deletions
|
@ -1,3 +1,20 @@
|
||||||
|
2003-10-26 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
|
* frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
|
||||||
|
Delete.
|
||||||
|
(frv_register_type): Rename from frv_register_virtual_type. Add
|
||||||
|
``struct gdbarch *'' parameter.
|
||||||
|
(frv_gdbarch_init): Delete calls to the following functions:
|
||||||
|
set_gdbarch_deprecated_size(),
|
||||||
|
set_gdbarch_deprecated_register_bytes(),
|
||||||
|
set_gdbarch_deprecated_register_raw_size(),
|
||||||
|
set_gdbarch_deprecated_max_register_raw_size(),
|
||||||
|
set_gdbarch_deprecated_register_virtual_size(),
|
||||||
|
set_gdbarch_deprecated_max_register_virtual_size(),
|
||||||
|
set_gdbarch_deprecated_register_virtual_size(),
|
||||||
|
set_gdbarch_deprecated_register_virtual_type().
|
||||||
|
Add call to function set_gdbarch_register_type().
|
||||||
|
|
||||||
2003-10-26 Mark Kettenis <kettenis@gnu.org>
|
2003-10-26 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
|
* i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
|
||||||
|
|
|
@ -236,21 +236,8 @@ frv_register_name (int reg)
|
||||||
return CURRENT_VARIANT->register_names[reg];
|
return CURRENT_VARIANT->register_names[reg];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
|
||||||
frv_register_raw_size (int reg)
|
|
||||||
{
|
|
||||||
return 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
frv_register_virtual_size (int reg)
|
|
||||||
{
|
|
||||||
return 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct type *
|
static struct type *
|
||||||
frv_register_virtual_type (int reg)
|
frv_register_type (struct gdbarch *gdbarch, int reg)
|
||||||
{
|
{
|
||||||
if (reg >= 64 && reg <= 127)
|
if (reg >= 64 && reg <= 127)
|
||||||
return builtin_type_float;
|
return builtin_type_float;
|
||||||
|
@ -1007,10 +994,12 @@ frv_frame_this_id (struct frame_info *next_frame,
|
||||||
/* The FUNC is easy. */
|
/* The FUNC is easy. */
|
||||||
func = frame_func_unwind (next_frame);
|
func = frame_func_unwind (next_frame);
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* This is meant to halt the backtrace at "_start". Make sure we
|
/* This is meant to halt the backtrace at "_start". Make sure we
|
||||||
don't halt it at a generic dummy frame. */
|
don't halt it at a generic dummy frame. */
|
||||||
if (inside_entry_func (func))
|
if (inside_entry_func (func))
|
||||||
return;
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Check if the stack is empty. */
|
/* Check if the stack is empty. */
|
||||||
msym_stack = lookup_minimal_symbol ("_stack", NULL, NULL);
|
msym_stack = lookup_minimal_symbol ("_stack", NULL, NULL);
|
||||||
|
@ -1149,14 +1138,8 @@ frv_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
||||||
set_gdbarch_pc_regnum (gdbarch, pc_regnum);
|
set_gdbarch_pc_regnum (gdbarch, pc_regnum);
|
||||||
|
|
||||||
set_gdbarch_register_name (gdbarch, frv_register_name);
|
set_gdbarch_register_name (gdbarch, frv_register_name);
|
||||||
set_gdbarch_deprecated_register_size (gdbarch, 4);
|
|
||||||
set_gdbarch_deprecated_register_bytes (gdbarch, frv_num_regs * 4);
|
|
||||||
set_gdbarch_deprecated_register_byte (gdbarch, frv_register_byte);
|
set_gdbarch_deprecated_register_byte (gdbarch, frv_register_byte);
|
||||||
set_gdbarch_deprecated_register_raw_size (gdbarch, frv_register_raw_size);
|
set_gdbarch_register_type (gdbarch, frv_register_type);
|
||||||
set_gdbarch_deprecated_max_register_raw_size (gdbarch, 4);
|
|
||||||
set_gdbarch_deprecated_register_virtual_size (gdbarch, frv_register_virtual_size);
|
|
||||||
set_gdbarch_deprecated_max_register_virtual_size (gdbarch, 4);
|
|
||||||
set_gdbarch_deprecated_register_virtual_type (gdbarch, frv_register_virtual_type);
|
|
||||||
|
|
||||||
set_gdbarch_skip_prologue (gdbarch, frv_skip_prologue);
|
set_gdbarch_skip_prologue (gdbarch, frv_skip_prologue);
|
||||||
set_gdbarch_breakpoint_from_pc (gdbarch, frv_breakpoint_from_pc);
|
set_gdbarch_breakpoint_from_pc (gdbarch, frv_breakpoint_from_pc);
|
||||||
|
|
Loading…
Reference in a new issue