projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2001-10-04 Frank Ch. Eigler <fche@redhat.com>
[binutils-gdb.git]
/
gdb
/
i386nbsd-nat.c
diff --git
a/gdb/i386nbsd-nat.c
b/gdb/i386nbsd-nat.c
index d7444114e8b8891c09970e1c2da8362368374b84..d8537fad6bff2940098ef85c68390937ea2743cb 100644
(file)
--- a/
gdb/i386nbsd-nat.c
+++ b/
gdb/i386nbsd-nat.c
@@
-1,6
+1,6
@@
/* Native-dependent code for NetBSD/i386, for GDB.
/* Native-dependent code for NetBSD/i386, for GDB.
- Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001
Free
- Software Foundation, Inc.
+ Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001
+
Free
Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-57,9
+57,9
@@
fetch_inferior_registers (int regno)
struct reg inferior_registers;
struct env387 inferior_fpregisters;
struct reg inferior_registers;
struct env387 inferior_fpregisters;
- ptrace (PT_GETREGS,
inferior_pid
,
+ ptrace (PT_GETREGS,
PIDGET (inferior_ptid)
,
(PTRACE_ARG3_TYPE) &inferior_registers, 0);
(PTRACE_ARG3_TYPE) &inferior_registers, 0);
- ptrace (PT_GETFPREGS,
inferior_pid
,
+ ptrace (PT_GETFPREGS,
PIDGET (inferior_ptid)
,
(PTRACE_ARG3_TYPE) &inferior_fpregisters, 0);
RF ( 0, inferior_registers.r_eax);
(PTRACE_ARG3_TYPE) &inferior_fpregisters, 0);
RF ( 0, inferior_registers.r_eax);
@@
-142,9
+142,9
@@
store_inferior_registers (int regno)
RS (FDOFF_REGNUM, inferior_fpregisters.operand);
RS (FOP_REGNUM, inferior_fpregisters.opcode);
RS (FDOFF_REGNUM, inferior_fpregisters.operand);
RS (FOP_REGNUM, inferior_fpregisters.opcode);
- ptrace (PT_SETREGS,
inferior_pid
,
+ ptrace (PT_SETREGS,
PIDGET (inferior_ptid)
,
(PTRACE_ARG3_TYPE) &inferior_registers, 0);
(PTRACE_ARG3_TYPE) &inferior_registers, 0);
- ptrace (PT_SETFPREGS,
inferior_pid
,
+ ptrace (PT_SETFPREGS,
PIDGET (inferior_ptid)
,
(PTRACE_ARG3_TYPE) &inferior_fpregisters, 0);
}
\f
(PTRACE_ARG3_TYPE) &inferior_fpregisters, 0);
}
\f