[PATCH 0/2] Avoid resolving dynamic properties for non-allocated arrays

Andrew Burgess
2020-12-23T23:54:08Z

Fix for issue PR gdb/27059 in patch #2, with a small helper patch in #1.

All feedback welcome.

Thanks,
Andrew

---

Andrew Burgess (2):
gdb: include allocated/associated properties in 'maint print type'
gdb: avoid resolving dynamic properties for non-allocated arrays

gdb/ChangeLog | 19 +++
gdb/eval.c | 12 +-
gdb/f-lang.c | 4 +
gdb/gdbtypes.c | 87 ++++++++++---
gdb/testsuite/ChangeLog | 6 +
.../gdb.dwarf2/dyn-type-unallocated.c | 40 ++++++
.../gdb.dwarf2/dyn-type-unallocated.exp | 122 ++++++++++++++++++
7 files changed, 266 insertions(+), 24 deletions(-)
create mode 100644 gdb/testsuite/gdb.dwarf2/dyn-type-unallocated.c
create mode 100644 gdb/testsuite/gdb.dwarf2/dyn-type-unallocated.exp

--
2.25.4