diff options
author | Tom Tromey <tom@tromey.com> | 2024-01-17 09:15:22 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-18 08:20:17 -0700 |
commit | 9b63bc4644da4c91bf93a2332f6701250abec7e2 (patch) | |
tree | 919a9f25f1561e849d9ce2bd3a46b8f2195e2467 /gdb/python/py-infthread.c | |
parent | f8c024dcefce0f7f8867f6bfc44b500d998738fd (diff) | |
download | binutils-9b63bc4644da4c91bf93a2332f6701250abec7e2.zip binutils-9b63bc4644da4c91bf93a2332f6701250abec7e2.tar.gz binutils-9b63bc4644da4c91bf93a2332f6701250abec7e2.tar.bz2 |
Allow other results in DW_TAG_entry_point test
DW_TAG_entry_point is implemented by adding a new LOC_BLOCK symbol --
that is, another function symbol. However, the test case assumes that
"bt" will never pick this symbol.
This assumption seems unwarranted to me, and in fact this test will
regress with the debug-names target board after the .debug_names
rewrite.
This patch changes the test to allow either answer in the backtrace.
If only the main entry point is desired, then it seems that more work
must be done to handle DW_TAG_entry_point properly, as nothing
currently guarantees this property.
Diffstat (limited to 'gdb/python/py-infthread.c')
0 files changed, 0 insertions, 0 deletions