summaryrefslogtreecommitdiff
path: root/overlay/mgdb/gdb/winnt-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/mgdb/gdb/winnt-nat.c')
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index 885745c..71d279b 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -156,7 +156,7 @@ static void winnt_attach (struct target_ops * t, const char * args, int from_tty
}
- if ((pfd = __dbg_rbreak(pfd)) < 0) {
+ if (__dbg_rbreak(pfd) < 0) {
__dbg_detach(pfd);
winnt_perror ("could not issue a breakpoint in process",pid);
}