diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 43da8f0..8df8a15 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -992,7 +992,7 @@ valpy_getitem (PyObject *self, PyObject *key) scoped_value_mark free_values; if (field) - res_val = value_struct_elt (&tmp, NULL, field.get (), NULL, + res_val = value_struct_elt (&tmp, {}, field.get (), NULL, "struct/class/union"); else if (bitpos >= 0) res_val = value_struct_elt_bitpos (&tmp, bitpos, field_type, |