Remove unused variables.
This commit is contained in:
parent
6354cf63d2
commit
4b0b317837
|
@ -232,15 +232,13 @@ fill_gregset (gregset_t *gregsetp, int regno)
|
||||||
{
|
{
|
||||||
if (gdbarch_ptr_bit (current_gdbarch) == 32)
|
if (gdbarch_ptr_bit (current_gdbarch) == 32)
|
||||||
sparcnbsd_fill_reg32((char *)gregsetp, regno);
|
sparcnbsd_fill_reg32((char *)gregsetp, regno);
|
||||||
else
|
else
|
||||||
sparcnbsd_fill_reg64((char *)gregsetp, regno);
|
sparcnbsd_fill_reg64((char *)gregsetp, regno);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
supply_fpregset (fpregset_t *fpregsetp)
|
supply_fpregset (fpregset_t *fpregsetp)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
|
|
||||||
if (gdbarch_ptr_bit (current_gdbarch) == 32)
|
if (gdbarch_ptr_bit (current_gdbarch) == 32)
|
||||||
sparcnbsd_supply_fpreg32((char *)fpregsetp, -1);
|
sparcnbsd_supply_fpreg32((char *)fpregsetp, -1);
|
||||||
else
|
else
|
||||||
|
@ -250,8 +248,6 @@ supply_fpregset (fpregset_t *fpregsetp)
|
||||||
void
|
void
|
||||||
fill_fpregset (fpregset_t *fpregsetp, int regno)
|
fill_fpregset (fpregset_t *fpregsetp, int regno)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
|
|
||||||
if (gdbarch_ptr_bit (current_gdbarch) == 32)
|
if (gdbarch_ptr_bit (current_gdbarch) == 32)
|
||||||
sparcnbsd_fill_fpreg32((char *)fpregsetp, regno);
|
sparcnbsd_fill_fpreg32((char *)fpregsetp, regno);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue