diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-09-23 14:07:55 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-09-24 14:49:38 +0100 |
commit | 9eee20eb5400345cab1952cbfc0426035ddf1140 (patch) | |
tree | 6d32b27fb7e6737a371cf8b438c08c3cc24bd889 /gdb | |
parent | f4e0d9f40b21fb42bbf7da07917683fb1cc16e8e (diff) | |
download | fsf-binutils-gdb-9eee20eb5400345cab1952cbfc0426035ddf1140.zip fsf-binutils-gdb-9eee20eb5400345cab1952cbfc0426035ddf1140.tar.gz fsf-binutils-gdb-9eee20eb5400345cab1952cbfc0426035ddf1140.tar.bz2 |
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 <jon.turney@dronecode.org.uk>
* windows-nat.c (windows_delete_thread): Adjusting call to
target_mourn_inferior to include ptid_t argument.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/windows-nat.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fd13792..a9ef3ee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-09-23 Jon Turney <jon.turney@dronecode.org.uk> + + * windows-nat.c (windows_delete_thread): Adjusting call to + target_mourn_inferior to include ptid_t argument. + 2016-09-23 Tom Tromey <tom@tromey.com> * utils.h (make_cleanup_dyn_string_delete): Remove declaration. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 31a9ecb..c6a809b 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 |