projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[gdb, hurd] Repair build after "Use thread_info and inferior pointers more throughout"
[external/binutils.git]
/
gdb
/
gnu-nat.c
diff --git
a/gdb/gnu-nat.c
b/gdb/gnu-nat.c
index
5a47cb7
..
67cc95c
100644
(file)
--- a/
gdb/gnu-nat.c
+++ b/
gdb/gnu-nat.c
@@
-2279,7
+2279,7
@@
gnu_nat_target::detach (inferior *inf, int from_tty)
inf_detach (gnu_current_inf);
inferior_ptid = null_ptid;
- detach_inferior (
pid
);
+ detach_inferior (
find_inferior_pid (pid)
);
maybe_unpush_target ();
}