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 | acb18e203ae2ed198cad69506e0c48007deabaaf (patch) | |
tree | a54ea0ef28dfe382d824383efdcb5fb31e5eb03e /gdb/ppcobsd-tdep.c | |
parent | 9baa71554048fe98f49be1844fbfd0f5c6400fe8 (diff) | |
download | gdb-acb18e203ae2ed198cad69506e0c48007deabaaf.tar.gz |
Back out change. The NetBSD changes need Jason Thorpe's approval, but
he hasn't reviewed it yet.
Diffstat (limited to 'gdb/ppcobsd-tdep.c')
-rw-r--r-- | gdb/ppcobsd-tdep.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c index 641f372e415..90381e4c412 100644 --- a/gdb/ppcobsd-tdep.c +++ b/gdb/ppcobsd-tdep.c @@ -24,7 +24,6 @@ #include "osabi.h" #include "regcache.h" #include "regset.h" -#include "gdb_assert.h" #include "gdb_string.h" @@ -47,14 +46,6 @@ ppcobsd_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len) { - /* 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 OpenBSD 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)); - ppc_supply_gregset (regset, regcache, regnum, gregs, len); ppc_supply_fpregset (regset, regcache, regnum, gregs, len); } @@ -69,14 +60,6 @@ ppcobsd_collect_gregset (const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs, size_t len) { - /* 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 OpenBSD 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)); - ppc_collect_gregset (regset, regcache, regnum, gregs, len); ppc_collect_fpregset (regset, regcache, regnum, gregs, len); } |