aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2003-02-15 03:24:54 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2003-02-15 03:24:54 +0000
commitcaad77061276b84208afd1ae40a8c3256215d035 (patch)
tree44a4709fc5ed0046c8e3819fd9417ff2d2fb1c6c /gdb/win32-nat.c
parent559cd2d00449c0ce016236f05bd49d48f7ce5d9f (diff)
downloadgdb-caad77061276b84208afd1ae40a8c3256215d035.zip
gdb-caad77061276b84208afd1ae40a8c3256215d035.tar.gz
gdb-caad77061276b84208afd1ae40a8c3256215d035.tar.bz2
white space
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r--gdb/win32-nat.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index 110af6e..103a3f2 100644
--- a/gdb/win32-nat.c
+++ b/gdb/win32-nat.c
@@ -949,7 +949,7 @@ display_selector (HANDLE thread, DWORD sel)
+ info.BaseLow;
limit = (info.HighWord.Bits.LimitHi << 16) + info.LimitLow;
if (info.HighWord.Bits.Granularity)
- limit = (limit << 12) | 0xfff;
+ limit = (limit << 12) | 0xfff;
printf_filtered ("base=0x%08x limit=0x%08x", base, limit);
if (info.HighWord.Bits.Default_Big)
puts_filtered(" 32-bit ");
@@ -1571,7 +1571,7 @@ child_attach (char *args, int from_tty)
ok = DebugActiveProcess (pid);
if (!ok)
- error ("Can't attach to process.");
+ error ("Can't attach to process.");
}
if (has_detach_ability ())
@@ -1964,16 +1964,16 @@ child_resume (ptid_t ptid, int step, enum target_signal sig)
if (th->context.ContextFlags)
{
- if (debug_registers_changed)
- {
- th->context.Dr0 = dr[0];
- th->context.Dr1 = dr[1];
- th->context.Dr2 = dr[2];
- th->context.Dr3 = dr[3];
- /* th->context.Dr6 = dr[6];
- FIXME: should we set dr6 also ?? */
- th->context.Dr7 = dr[7];
- }
+ if (debug_registers_changed)
+ {
+ th->context.Dr0 = dr[0];
+ th->context.Dr1 = dr[1];
+ th->context.Dr2 = dr[2];
+ th->context.Dr3 = dr[3];
+ /* th->context.Dr6 = dr[6];
+ FIXME: should we set dr6 also ?? */
+ th->context.Dr7 = dr[7];
+ }
CHECK (SetThreadContext (th->h, &th->context));
th->context.ContextFlags = 0;
}