This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix a use of target_mourn_inferior in windows-nat.c


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9eee20eb5400345cab1952cbfc0426035ddf1140

commit 9eee20eb5400345cab1952cbfc0426035ddf1140
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Fri Sep 23 14:07:55 2016 +0100

    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.

Diff:
---
 gdb/ChangeLog     | 5 +++++
 gdb/windows-nat.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]