diff options
author | Tom Tromey <tom@tromey.com> | 2024-02-10 15:03:18 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-02-20 08:52:33 -0700 |
commit | 94a75b0363b1e09416e9bd24cac72d98864688d8 (patch) | |
tree | f4b83dd7c2150d7fef8bcb76dfddd4da735a1b52 /gdb/python/py-mi.c | |
parent | 8480a37e146c40e82a93c0ecf6144571516c95c5 (diff) | |
download | binutils-94a75b0363b1e09416e9bd24cac72d98864688d8.zip binutils-94a75b0363b1e09416e9bd24cac72d98864688d8.tar.gz binutils-94a75b0363b1e09416e9bd24cac72d98864688d8.tar.bz2 |
Add obj_section::contains method
I noticed a number of spots checking whether an address is in an
obj_section. This patch introduces a new method for this and changes
some code to use it.
Regression tested on x86-64 Fedora 38.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/python/py-mi.c')
0 files changed, 0 insertions, 0 deletions