* i386gnu-nat.c: Include "i386-tdep.h".
(fetch_fpregs): Simplify code dealing with uninitialized floating point states such that it doesn't require FP7_REGNUM.
This commit is contained in:
parent
bc89618bd8
commit
4604bcad46
@ -1,3 +1,9 @@
|
||||
2002-01-19 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* i386gnu-nat.c: Include "i386-tdep.h".
|
||||
(fetch_fpregs): Simplify code dealing with uninitialized floating
|
||||
point states such that it doesn't require FP7_REGNUM.
|
||||
|
||||
2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
|
||||
|
||||
* alpha-tdep.c (frame_extra_info): New.
|
||||
|
@ -33,6 +33,8 @@
|
||||
#include <mach/message.h>
|
||||
#include <mach/exception.h>
|
||||
|
||||
#include "i386-tdep.h"
|
||||
|
||||
#include "gnu-nat.h"
|
||||
#include "i387-nat.h"
|
||||
|
||||
@ -76,9 +78,7 @@ fetch_fpregs (struct proc *thread)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = FP0_REGNUM; i <= FP7_REGNUM; i++)
|
||||
supply_register (i, NULL);
|
||||
for (i = FCTRL_REGNUM; i <= FOP_REGNUM; i++)
|
||||
for (i = FP0_REGNUM; i <= FOP_REGNUM; i++)
|
||||
supply_register (i, NULL);
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user