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/m32c | |
parent | 8061bf5faa8540a77fab8156ae1da816ac0e3c33 (diff) | |
download | binutils-2002c0099f9fb4d737930acd66733cfad39f68f1.zip binutils-2002c0099f9fb4d737930acd66733cfad39f68f1.tar.gz binutils-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/m32c')
0 files changed, 0 insertions, 0 deletions