diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-06-02 03:06:23 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-06-02 03:06:23 +0000 |
commit | f65f91b5093f6770492ebef8b75ccbe4869d8dad (patch) | |
tree | 773ebd36a1da27f57e2ee8df6a45efc6deaa5f46 /gdb/rs6000-tdep.c | |
parent | f4d82318a1adf52461cb52a3c862ca2386bae378 (diff) | |
download | gdb-f65f91b5093f6770492ebef8b75ccbe4869d8dad.zip gdb-f65f91b5093f6770492ebef8b75ccbe4869d8dad.tar.gz gdb-f65f91b5093f6770492ebef8b75ccbe4869d8dad.tar.bz2 |
* ppc-tdep.h: Delete unused 'regoff' member.
* rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 090c9dd..47b0a64 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2896,14 +2896,6 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) else tdep->lr_frame_offset = 8; - /* Calculate byte offsets in raw register array. */ - tdep->regoff = xmalloc (v->num_tot_regs * sizeof (int)); - for (i = off = 0; i < v->num_tot_regs; i++) - { - tdep->regoff[i] = off; - off += regsize (v->regs + i, wordsize); - } - if (v->arch == bfd_arch_powerpc) switch (v->mach) { |