]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/python] Use GDB_PY_HANDLE_EXCEPTION more often
authorTom de Vries <tdevries@suse.de>
Tue, 27 Aug 2024 07:20:18 +0000 (09:20 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 27 Aug 2024 07:20:18 +0000 (09:20 +0200)
commit2f8cd40c37ac59451ac48223346f513c0ee03165
treedad23f7ab259b5dcd52b2f94b13dbdca96385b20
parentb5070480d74eca8d5fdf8e7a605df2f0edc9f37a
[gdb/python] Use GDB_PY_HANDLE_EXCEPTION more often

I found a few more places where we can use GDB_PY_HANDLE_EXCEPTION.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
12 files changed:
gdb/python/py-arch.c
gdb/python/py-breakpoint.c
gdb/python/py-connection.c
gdb/python/py-frame.c
gdb/python/py-gdb-readline.c
gdb/python/py-mi.c
gdb/python/py-record-btrace.c
gdb/python/py-record.c
gdb/python/py-stopevent.c
gdb/python/py-tui.c
gdb/python/py-value.c
gdb/python/python.c