Tom de Vries
408bc9c5fc
[gdb/python] Make gdb.UnwindInfo.add_saved_register more robust (fixup)
...
In commit 2236c5e384 ("[gdb/python] Make gdb.UnwindInfo.add_saved_register
more robust") I added this code in unwind_infopy_add_saved_register:
...
if (value->optimized_out () || !value->entirely_available ())
...
which may throw c++ exceptions.
This needs to be caught and transformed into a python exception.
Fix this by using GDB_PY_HANDLE_EXCEPTION.
Tested on x86_64-linux.
Approved-By: Tom Tromey <tom@tromey.com >
Fixes: 2236c5e384 ("[gdb/python] Make gdb.UnwindInfo.add_saved_register more robust")
2024-05-10 08:46:21 +02:00
..
2024-04-16 15:53:47 +02:00
2024-03-26 21:13:22 -04:00
2024-04-25 12:59:02 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-04-25 12:59:02 -04:00
2024-04-25 12:59:02 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-02-20 10:42:25 -05:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-04-25 12:59:02 -04:00
2024-03-26 21:13:22 -04:00
2024-04-16 15:53:47 +02:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-04-25 12:59:02 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-04-25 12:59:02 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-05-10 08:46:21 +02:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-03-26 21:13:22 -04:00
2024-04-02 11:21:39 -06:00
2024-03-14 08:57:00 -06:00
2024-04-25 12:59:02 -04:00