* i386bsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Don't use && at the end of a line. (_initialize_i386bsd_nat): Fix typo.
This commit is contained in:
parent
fec74868a2
commit
a144416fe3
2 changed files with 11 additions and 7 deletions
|
@ -1,5 +1,9 @@
|
||||||
2003-08-10 Mark Kettenis <kettenis@gnu.org>
|
2003-08-10 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* i386bsd-nat.c (fetch_inferior_registers,
|
||||||
|
store_inferior_registers): Don't use && at the end of a line.
|
||||||
|
(_initialize_i386bsd_nat): Fix typo.
|
||||||
|
|
||||||
* frame.c (_initialize_frame): Add missing backslash.
|
* frame.c (_initialize_frame): Add missing backslash.
|
||||||
|
|
||||||
From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
|
From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
|
||||||
|
|
|
@ -196,8 +196,8 @@ fetch_inferior_registers (int regno)
|
||||||
#ifdef HAVE_PT_GETXMMREGS
|
#ifdef HAVE_PT_GETXMMREGS
|
||||||
char xmmregs[512];
|
char xmmregs[512];
|
||||||
|
|
||||||
if (have_ptrace_xmmregs != 0 &&
|
if (have_ptrace_xmmregs != 0
|
||||||
ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
|
&& ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
|
||||||
(PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
|
(PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
|
||||||
{
|
{
|
||||||
have_ptrace_xmmregs = 1;
|
have_ptrace_xmmregs = 1;
|
||||||
|
@ -252,8 +252,8 @@ store_inferior_registers (int regno)
|
||||||
#ifdef HAVE_PT_GETXMMREGS
|
#ifdef HAVE_PT_GETXMMREGS
|
||||||
char xmmregs[512];
|
char xmmregs[512];
|
||||||
|
|
||||||
if (have_ptrace_xmmregs != 0 &&
|
if (have_ptrace_xmmregs != 0
|
||||||
ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
|
&& ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
|
||||||
(PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
|
(PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
|
||||||
{
|
{
|
||||||
have_ptrace_xmmregs = 1;
|
have_ptrace_xmmregs = 1;
|
||||||
|
@ -408,7 +408,7 @@ _initialize_i386bsd_nat (void)
|
||||||
#define SC_REG_OFFSET i386obsd_sc_reg_offset
|
#define SC_REG_OFFSET i386obsd_sc_reg_offset
|
||||||
#else
|
#else
|
||||||
extern int i386bsd_sc_reg_offset[];
|
extern int i386bsd_sc_reg_offset[];
|
||||||
#define SC_PC_OFFSET i386bsd_sc_reg_offset
|
#define SC_REG_OFFSET i386bsd_sc_reg_offset
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* We only check the program counter, stack pointer and frame
|
/* We only check the program counter, stack pointer and frame
|
||||||
|
|
Loading…
Add table
Reference in a new issue