diff options
author | midipix <writeonce@midipix.org> | 2019-08-31 23:17:40 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-31 23:17:40 +0000 |
commit | 900be936926281ef6853e1e9cbf73d21796fa510 (patch) | |
tree | ddba6ce1a7f3b9504d7d7f1ec0b2c7bae69df1dc /overlay/mgdb/gdb/winnt-nat.c | |
parent | af9f51f2c9efbc18d0a7af23dc13345f1a46d4d5 (diff) | |
download | chainport-900be936926281ef6853e1e9cbf73d21796fa510.tar.bz2 chainport-900be936926281ef6853e1e9cbf73d21796fa510.tar.xz |
mgdb: winnt_detach(): fix failure test logic.
Diffstat (limited to 'overlay/mgdb/gdb/winnt-nat.c')
-rw-r--r-- | overlay/mgdb/gdb/winnt-nat.c | 2 |
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); } |