From 9eee20eb5400345cab1952cbfc0426035ddf1140 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Fri, 23 Sep 2016 14:07:55 +0100 Subject: [PATCH] Fix a use of target_mourn_inferior in windows-nat.c One use of target_mourn_interior seems to have been missed in bc1e6c81 gdb/ChangeLog: 2016-09-23 Jon Turney * windows-nat.c (windows_delete_thread): Adjusting call to target_mourn_inferior to include ptid_t argument. --- gdb/ChangeLog | 5 +++++ gdb/windows-nat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fd137927a98..a9ef3eec061 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-09-23 Jon Turney + + * windows-nat.c (windows_delete_thread): Adjusting call to + target_mourn_inferior to include ptid_t argument. + 2016-09-23 Tom Tromey * utils.h (make_cleanup_dyn_string_delete): Remove declaration. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 31a9ecb15c0..c6a809b0b2f 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2464,7 +2464,7 @@ windows_kill_inferior (struct target_ops *ops) break; } - target_mourn_inferior (); /* Or just windows_mourn_inferior? */ + target_mourn_inferior (inferior_ptid); /* Or just windows_mourn_inferior? */ } static void -- 2.30.2