This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
MI mi-var-child.exp testsuite fix
- From: Bob Rossi <bob at brasko dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 5 Sep 2005 16:01:56 -0400
- Subject: MI mi-var-child.exp testsuite fix
Hi,
This get's the mi-var-child testcase working again with gcc-4.0.
Thanks,
Bob Rossi
Index: gdb/testsuite/ChangeLog
+ * gdb.mi/mi-var-child.c: Include <string.h>.
Index: gdb/testsuite/gdb.mi/mi-var-child.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-var-child.c,v
retrieving revision 1.2
diff -u -r1.2 mi-var-child.c
--- gdb/testsuite/gdb.mi/mi-var-child.c 31 Jul 2005 22:10:53 -0000 1.2
+++ gdb/testsuite/gdb.mi/mi-var-child.c 5 Sep 2005 20:00:35 -0000
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <stdlib.h>
+#include <string.h>
struct _simple_struct {
int integer;