mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +08:00
* 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:
@ -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;
|
||||
|
Reference in New Issue
Block a user