aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-prettyprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-prettyprint.c')
-rw-r--r--gdb/testsuite/gdb.python/py-prettyprint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-prettyprint.c b/gdb/testsuite/gdb.python/py-prettyprint.c
index 2558e98..126537f 100644
--- a/gdb/testsuite/gdb.python/py-prettyprint.c
+++ b/gdb/testsuite/gdb.python/py-prettyprint.c
@@ -176,6 +176,7 @@ struct container
int len;
int *elements;
int is_map_p;
+ int is_array_p;
};
typedef struct container zzz_type;
@@ -197,6 +198,7 @@ make_container (const char *s)
result.len = 0;
result.elements = 0;
result.is_map_p = 0;
+ result.is_array_p = 0;
return result;
}