diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-10-27 06:26:12 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2003-10-27 06:26:12 +0000 |
commit | 7f39821656c5150e7b26a8d967d698f20493ac2e (patch) | |
tree | f371addee695a16b16b3e34b725fa7753a6c9593 | |
parent | a8015998e89d84f593bd75cccada27fbc88c890a (diff) | |
download | gdb-7f39821656c5150e7b26a8d967d698f20493ac2e.zip gdb-7f39821656c5150e7b26a8d967d698f20493ac2e.tar.gz gdb-7f39821656c5150e7b26a8d967d698f20493ac2e.tar.bz2 |
* 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().
-rw-r--r-- | gdb/ChangeLog | 17 | ||||
-rw-r--r-- | gdb/frv-tdep.c | 25 |
2 files changed, 21 insertions, 21 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 370f140..c6073be 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 55e31b8..458a4b8 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -236,21 +236,8 @@ frv_register_name (int 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 * -frv_register_virtual_type (int reg) +frv_register_type (struct gdbarch *gdbarch, int reg) { if (reg >= 64 && reg <= 127) return builtin_type_float; @@ -1007,10 +994,12 @@ frv_frame_this_id (struct frame_info *next_frame, /* The FUNC is easy. */ func = frame_func_unwind (next_frame); +#if 0 /* This is meant to halt the backtrace at "_start". Make sure we don't halt it at a generic dummy frame. */ if (inside_entry_func (func)) return; +#endif /* Check if the stack is empty. */ 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_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_raw_size (gdbarch, frv_register_raw_size); - 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_register_type (gdbarch, frv_register_type); set_gdbarch_skip_prologue (gdbarch, frv_skip_prologue); set_gdbarch_breakpoint_from_pc (gdbarch, frv_breakpoint_from_pc); |