aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-finish-breakpoint2.py
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-02-06 09:32:48 -0700
committerTom Tromey <tromey@adacore.com>2025-03-18 12:40:58 -0600
commite0a55ad42257771a6bed89130d45d0a24d417759 (patch)
treeb32ebe1a19796bafbdf650d0168a19da792d4cf5 /gdb/testsuite/gdb.python/py-finish-breakpoint2.py
parente4d946a97a67fe692b13e64b541b0e8ddb39e2e9 (diff)
downloadbinutils-e0a55ad42257771a6bed89130d45d0a24d417759.zip
binutils-e0a55ad42257771a6bed89130d45d0a24d417759.tar.gz
binutils-e0a55ad42257771a6bed89130d45d0a24d417759.tar.bz2
Introduce and use attribute::unsigned_constant
This introduces a new 'unsigned_constant' method on attribute. This method can be used to get the value as an unsigned number. Unsigned scalar forms are handled, and signed scalar forms are handled as well provided that the value is non-negative. Several spots in the reader that expect small DWARF-defined constants are updated to use this new method. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32680 Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-finish-breakpoint2.py')
0 files changed, 0 insertions, 0 deletions