Index: gdb/testsuite/gdb.mi/mi-var-child.exp |
diff --git a/gdb/testsuite/gdb.mi/mi-var-child.exp b/gdb/testsuite/gdb.mi/mi-var-child.exp |
index 7e58ad7023cc6213bac5d9aff520d7253a22ac11..1d72311de0d3cf615cd118503eda21a50ac4378b 100644 |
--- a/gdb/testsuite/gdb.mi/mi-var-child.exp |
+++ b/gdb/testsuite/gdb.mi/mi-var-child.exp |
@@ -28,10 +28,9 @@ if [mi_gdb_start] { |
continue |
} |
-set testfile "mi-var-child" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DFAKEARGV}] != "" } { |
+standard_testfile |
+ |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi-var-child.exp |
return -1 |
} |
@@ -808,9 +807,9 @@ mi_list_varobj_children {struct_declarations --simple-values} \ |
{struct_declarations.long_array long_array 12 "long int \\[12\\]"} \ |
[list struct_declarations.func_ptr func_ptr 0 "void \\(\\*\\)\\((void)?\\)" "(@$hex: |)$hex <nothing>"] \ |
{struct_declarations.func_ptr_struct func_ptr_struct 0 \ |
- "struct _struct_decl \\(\\*\\)(\\(int, char \\*, long int\\))?" 0} \ |
+ "struct _struct_decl \\(\\*\\)(\\(int, char \\*, long int\\))?" 0x0} \ |
{struct_declarations.func_ptr_ptr func_ptr_ptr 0 \ |
- "struct _struct_decl \\*\\(\\*\\)\\((int, char \\*, long int)?\\)" 0} \ |
+ "struct _struct_decl \\*\\(\\*\\)\\((int, char \\*, long int)?\\)" 0x0} \ |
{struct_declarations.u1 u1 4 "union \\{\\.\\.\\.\\}"} \ |
{struct_declarations.s2 s2 4 "struct \\{\\.\\.\\.\\}"} \ |
] "listing of children, simple types: names, type and values, complex types: names and types" |