diff options
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/alpha-nat.c | 1 | ||||
-rw-r--r-- | gdb/alpha-tdep.c | 6 | ||||
-rw-r--r-- | gdb/alpha-tdep.h | 6 | ||||
-rw-r--r-- | gdb/alphabsd-nat.c | 6 | ||||
-rw-r--r-- | gdb/alphanbsd-tdep.c | 1 |
6 files changed, 14 insertions, 16 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1a1ba34..477ccc9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2003-06-01 Richard Henderson <rth@redhat.com> + + * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. + * alpha-tdep.c (alpha_register_name): Remove vfp entry. + (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. + (alpha_cannot_store_register): Likewise. + * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. + * alpha-nat.c (supply_gregset): Likewise. + * alphanbsd-tdep.c (fetch_core_registers): Likewise. + 2003-06-01 Andrew Cagney <cagney@redhat.com> * infcall.c (call_function_by_hand): Update comment on diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c index 7c272b3..975b597 100644 --- a/gdb/alpha-nat.c +++ b/gdb/alpha-nat.c @@ -210,7 +210,6 @@ supply_gregset (gdb_gregset_t *gregsetp) /* Fill inaccessible registers with zero. */ supply_register (ALPHA_ZERO_REGNUM, zerobuf); - supply_register (DEPRECATED_FP_REGNUM, zerobuf); } void diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 96ae120..96f8cf6 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -57,7 +57,7 @@ alpha_register_name (int regno) "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23", "f24", "f25", "f26", "f27", "f28", "f29", "f30", "fpcr", - "pc", "vfp", "unique", + "pc", "", "unique" }; if (regno < 0) @@ -70,13 +70,13 @@ alpha_register_name (int regno) static int alpha_cannot_fetch_register (int regno) { - return (regno == ALPHA_FP_REGNUM || regno == ALPHA_ZERO_REGNUM); + return regno == ALPHA_ZERO_REGNUM; } static int alpha_cannot_store_register (int regno) { - return (regno == ALPHA_FP_REGNUM || regno == ALPHA_ZERO_REGNUM); + return regno == ALPHA_ZERO_REGNUM; } static int diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h index d7266be..f69eeac 100644 --- a/gdb/alpha-tdep.h +++ b/gdb/alpha-tdep.h @@ -36,10 +36,7 @@ /* Register numbers of various important registers. Note that most of these values are "real" register numbers, and correspond to the - general registers of the machine, and DEPRECATED_FP_REGNUM is a - "phony" register number which is too large to be an actual register - number as far as the user is concerned but serves to get the - desired value when passed to read_register. */ + general registers of the machine. */ #define ALPHA_V0_REGNUM 0 /* Function integer return value */ #define ALPHA_T7_REGNUM 8 /* Return address register for OSF/1 __add* */ @@ -54,7 +51,6 @@ #define ALPHA_FPA0_REGNUM 48 /* First float arg during a subr call */ #define ALPHA_FPCR_REGNUM 63 /* Floating point control register */ #define ALPHA_PC_REGNUM 64 /* Contains program counter */ -#define ALPHA_FP_REGNUM 65 /* Virtual frame pointer */ #define ALPHA_UNIQUE_REGNUM 66 /* PAL_rduniq value */ /* The alpha has two different virtual pointers for arguments and locals. diff --git a/gdb/alphabsd-nat.c b/gdb/alphabsd-nat.c index a20b36f..0781698 100644 --- a/gdb/alphabsd-nat.c +++ b/gdb/alphabsd-nat.c @@ -75,7 +75,6 @@ fill_fpregset (fpregset_t *fpregsetp, int regno) static int getregs_supplies (int regno) { - return ((regno >= ALPHA_V0_REGNUM && regno <= ALPHA_ZERO_REGNUM) || regno >= PC_REGNUM); } @@ -87,7 +86,6 @@ getregs_supplies (int regno) void fetch_inferior_registers (int regno) { - if (regno == -1 || getregs_supplies (regno)) { struct reg gregs; @@ -111,9 +109,6 @@ fetch_inferior_registers (int regno) alphabsd_supply_fpreg ((char *) &fpregs, regno); } - - /* Reset virtual frame pointer. */ - supply_register (DEPRECATED_FP_REGNUM, NULL); } /* Store register REGNO back into the inferior. If REGNO is -1, do @@ -122,7 +117,6 @@ fetch_inferior_registers (int regno) void store_inferior_registers (int regno) { - if (regno == -1 || getregs_supplies (regno)) { struct reg gregs; diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c index a4a77c1..22d2070 100644 --- a/gdb/alphanbsd-tdep.c +++ b/gdb/alphanbsd-tdep.c @@ -70,7 +70,6 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which, for (regno = 0; regno < ALPHA_ZERO_REGNUM; regno++) supply_register (regno, regs + (regmap[regno] * 8)); supply_register (ALPHA_ZERO_REGNUM, NULL); - supply_register (DEPRECATED_FP_REGNUM, NULL); supply_register (PC_REGNUM, regs + (28 * 8)); /* Floating point registers. */ |