diff options
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r-- | gdb/i386-linux-nat.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index b4224b2..3c6999f 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -215,7 +215,7 @@ fetch_regs (struct regcache *regcache, int tid) if (errno == EIO) { /* The kernel we're running on doesn't support the GETREGS - request. Reset `have_ptrace_getregs'. */ + request. Reset `have_ptrace_getregs'. */ have_ptrace_getregs = 0; return; } @@ -669,12 +669,12 @@ i386_linux_nat_target::low_resume (ptid_t ptid, int step, enum gdb_signal signal gdbarch_pc_regnum (gdbarch), &pc); /* Returning from a signal trampoline is done by calling a - special system call (sigreturn or rt_sigreturn, see - i386-linux-tdep.c for more information). This system call - restores the registers that were saved when the signal was - raised, including %eflags. That means that single-stepping - won't work. Instead, we'll have to modify the signal context - that's about to be restored, and set the trace flag there. */ + special system call (sigreturn or rt_sigreturn, see + i386-linux-tdep.c for more information). This system call + restores the registers that were saved when the signal was + raised, including %eflags. That means that single-stepping + won't work. Instead, we'll have to modify the signal context + that's about to be restored, and set the trace flag there. */ /* First check if PC is at a system call. */ if (target_read_memory (pc, buf, LINUX_SYSCALL_LEN) == 0 @@ -698,7 +698,7 @@ i386_linux_nat_target::low_resume (ptid_t ptid, int step, enum gdb_signal signal addr = sp; /* Set the trace flag in the context that's about to be - restored. */ + restored. */ addr += LINUX_SIGCONTEXT_EFLAGS_OFFSET; read_memory (addr, (gdb_byte *) &eflags, 4); eflags |= 0x0100; |