summaryrefslogtreecommitdiff
path: root/gdb/i386bsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-10 16:22:15 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-10 16:22:15 +0000
commit64597598ba1663d9c3e8113b91b63a633c4819df (patch)
tree1c1af7f7a63d7076658e7aa974cee955b9b539bc /gdb/i386bsd-nat.c
parentf8622a3fd1b4b0c97020efcbdf9a9ea7f2219511 (diff)
downloadgdb-64597598ba1663d9c3e8113b91b63a633c4819df.tar.gz
* i386bsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Don't use && at the end of a line. (_initialize_i386bsd_nat): Fix typo.
Diffstat (limited to 'gdb/i386bsd-nat.c')
-rw-r--r--gdb/i386bsd-nat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c
index 60524de148e..cd94a21c532 100644
--- a/gdb/i386bsd-nat.c
+++ b/gdb/i386bsd-nat.c
@@ -196,9 +196,9 @@ fetch_inferior_registers (int regno)
#ifdef HAVE_PT_GETXMMREGS
char xmmregs[512];
- if (have_ptrace_xmmregs != 0 &&
- ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
- (PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
+ if (have_ptrace_xmmregs != 0
+ && ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
+ (PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
{
have_ptrace_xmmregs = 1;
i387_supply_fxsave (xmmregs);
@@ -252,9 +252,9 @@ store_inferior_registers (int regno)
#ifdef HAVE_PT_GETXMMREGS
char xmmregs[512];
- if (have_ptrace_xmmregs != 0 &&
- ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
- (PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
+ if (have_ptrace_xmmregs != 0
+ && ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid),
+ (PTRACE_ARG3_TYPE) xmmregs, 0) == 0)
{
have_ptrace_xmmregs = 1;
@@ -408,7 +408,7 @@ _initialize_i386bsd_nat (void)
#define SC_REG_OFFSET i386obsd_sc_reg_offset
#else
extern int i386bsd_sc_reg_offset[];
-#define SC_PC_OFFSET i386bsd_sc_reg_offset
+#define SC_REG_OFFSET i386bsd_sc_reg_offset
#endif
/* We only check the program counter, stack pointer and frame