diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-05-10 18:58:44 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-05-10 18:58:44 +0000 |
commit | 7bcda025ec2abe0f8a8583a11083ee06e6b46d86 (patch) | |
tree | 7a1e525f38b21b59a15c914efab7c369e0b95201 /gdb/ppcnbsd-tdep.c | |
parent | * alphanbsd-tdep.c: Fix include of "gdb_string.h". (diff) | |
download | binutils-gdb-7bcda025ec2abe0f8a8583a11083ee06e6b46d86.tar.gz binutils-gdb-7bcda025ec2abe0f8a8583a11083ee06e6b46d86.tar.bz2 binutils-gdb-7bcda025ec2abe0f8a8583a11083ee06e6b46d86.zip |
Back out change. The NetBSD changes need Jason Thorpe's approval, but
he hasn't reviewed it yet.
Diffstat (limited to 'gdb/ppcnbsd-tdep.c')
-rw-r--r-- | gdb/ppcnbsd-tdep.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c index c1d4146b489..891b74fc820 100644 --- a/gdb/ppcnbsd-tdep.c +++ b/gdb/ppcnbsd-tdep.c @@ -111,14 +111,6 @@ ppcnbsd_supply_fpreg (char *fpregs, int regno) struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch); int i; - /* FIXME: jimb/2004-05-05: Some PPC variants don't have - floating-point registers. For such variants, - tdep->ppc_fp0_regnum and tdep->ppc_fpscr_regnum will be -1. I - don't think NetBSD runs on any of those chips, but we can at - least make sure that if someone tries it, they'll get a proper - notification. */ - gdb_assert (ppc_floating_point_unit_p (current_gdbarch)); - for (i = 0; i < ppc_num_fprs; i++) { if (regno == tdep->ppc_fp0_regnum + i || regno == -1) @@ -136,14 +128,6 @@ ppcnbsd_fill_fpreg (char *fpregs, int regno) struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch); int i; - /* FIXME: jimb/2004-05-05: Some PPC variants don't have - floating-point registers. For such variants, - tdep->ppc_fp0_regnum and tdep->ppc_fpscr_regnum will be -1. I - don't think NetBSD runs on any of those chips, but we can at - least make sure that if someone tries it, they'll get a proper - notification. */ - gdb_assert (ppc_floating_point_unit_p (current_gdbarch)); - for (i = 0; i < ppc_num_fprs; i++) { if (regno == tdep->ppc_fp0_regnum + i || regno == -1) |