This is the mail archive of the gdb-patches@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]

Re: RFC: fix crash when inferior exits during "continue"


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> Oops, I missed this comment before check-in.
Tom> I'll fix it now.

Patch appended.  Tested on x86-64 Fedora 16.

Tom

2012-02-16  Tom Tromey  <tromey@redhat.com>

	* gdb.base/inferior-died.c: Don't include stdio.h.

Index: gdb.base/inferior-died.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/inferior-died.c,v
retrieving revision 1.1
diff -u -r1.1 inferior-died.c
--- gdb.base/inferior-died.c	16 Feb 2012 14:35:00 -0000	1.1
+++ gdb.base/inferior-died.c	16 Feb 2012 14:41:12 -0000
@@ -17,7 +17,6 @@
 */
 
 #include <stdlib.h>
-#include <stdio.h>
 #include <sys/types.h>
 #include <unistd.h>
 


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