aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-13 01:22:05 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-13 05:52:51 -0500
commitc54f3efdc2f85554a1604c68d5e9d0f55edfd330 (patch)
treebca6fe89d5844c5d898209359c9fa7a48eab56fd /gdb/python/python-internal.h
parent62fe7512a78962a9eda0db7fde0c8a76cf535714 (diff)
downloadbinutils-c54f3efdc2f85554a1604c68d5e9d0f55edfd330.zip
binutils-c54f3efdc2f85554a1604c68d5e9d0f55edfd330.tar.gz
binutils-c54f3efdc2f85554a1604c68d5e9d0f55edfd330.tar.bz2
sim: watch: fix range expression processing
The code supports a <start>[,<end>] syntax, but the logic for handling the <end> check was broken: it would detect the first byte was ",", but then include that in the strtoul call meaning the result is always 0. Further, it (re)assigned to arg0 when it meant arg1 which means this code always processed a range expression as 0,0. Oops.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions