Files
binutils-gdb/gdb/testsuite/gdb.base
Tom Tromey 9030a82d6f Use get_frame_address_in_block in print_frame
The author of 'mold' pointed out that with a certain shared library,
gdb would fail to find the shared library's name in 'bt'.

The function in question appeared at the end of the .so's .text
segment and ended with a call to 'abort'.

This turned out to be a classic case of calling get_frame_pc when
get_frame_address_in_block is needed -- the former will be off-by-one
for purposes of finding the enclosing function or shared library.

The included test fails without the patch on my system.  However, I
imagine it can't be assumed to reliably fail.  Nevertheless it seemed
worth doing.

Regression tested on x86-64 Fedora 38.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29074
Reviewed-by: Kevin Buettner <kevinb@redhat.com>
2023-08-26 10:10:59 -06:00
..
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-03-10 08:21:46 -07:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-02-27 19:12:28 +00:00
2023-03-10 08:21:46 -07:00
2023-02-23 12:50:30 -07:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-04-28 10:43:20 -07:00
2023-06-03 22:43:57 +02:00
2023-03-10 08:21:46 -07:00
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-01-25 09:02:11 -07:00
2023-02-27 19:12:28 +00:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-03-10 08:21:46 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-01-25 09:02:11 -07:00
2023-03-10 08:21:46 -07:00
2023-01-25 09:02:11 -07:00
2023-03-10 08:21:46 -07:00
2023-01-26 18:28:32 -07:00
2023-03-10 08:21:46 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-01-26 18:28:32 -07:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-03-10 08:21:46 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-06-03 22:43:57 +02:00