diff options
author | Tom Tromey <tom@tromey.com> | 2024-01-16 19:10:12 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-17 06:15:27 -0700 |
commit | 2002c0099f9fb4d737930acd66733cfad39f68f1 (patch) | |
tree | 19e63022a60746f6e616318ea3968365b7328248 /sim/m68hc11 | |
parent | 8061bf5faa8540a77fab8156ae1da816ac0e3c33 (diff) | |
download | gdb-2002c0099f9fb4d737930acd66733cfad39f68f1.zip gdb-2002c0099f9fb4d737930acd66733cfad39f68f1.tar.gz gdb-2002c0099f9fb4d737930acd66733cfad39f68f1.tar.bz2 |
Fix crash in struct-with-sig-2.exp with debug-names target board
When I run the struct-with-sig-2.exp test with the .debug_names-using
target board, I see a gdb crash. This happens because the reader
throws an exception without calling finalize_all_units. This causes
an assertion failure later because the number of CUs and TUs doesn't
match.
The fix is to clear 'all_units' on failure.
Approved-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'sim/m68hc11')
0 files changed, 0 insertions, 0 deletions