]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb] Add const to catch gdb_exception
authorTom de Vries <tdevries@suse.de>
Thu, 22 Aug 2024 07:49:53 +0000 (09:49 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 22 Aug 2024 07:49:53 +0000 (09:49 +0200)
commit50f8a39878d6c8cf4dfcb1d3333aa2a20daada0c
tree8c550a230e5c2ec5271e51c2517faca595f59497
parent365b32b9c7792cb5fb67c658ea28b1c3a7a8ef71
[gdb] Add const to catch gdb_exception

I did a review of lines containing "catch (gdb_exception" and found a few
where we can add const.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/exec.c
gdb/python/py-breakpoint.c
gdb/python/py-inferior.c
gdb/python/py-value.c
gdb/unittests/scoped_mmap-selftests.c