aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-12-12 11:45:42 -0700
committerTom Tromey <tromey@adacore.com>2025-12-15 07:25:56 -0700
commit60a614d2a56dff3c70bde93a93121ea52338b678 (patch)
tree6c257dc54ddd935e1309d691b04f4f3521fea786 /gdb/python
parentd0514e7441a688e8a51f051c58fde179ffae64cf (diff)
downloadbinutils-60a614d2a56dff3c70bde93a93121ea52338b678.tar.gz
binutils-60a614d2a56dff3c70bde93a93121ea52338b678.tar.bz2
binutils-60a614d2a56dff3c70bde93a93121ea52338b678.zip
Use skip_spaces in more places
I looked through gdb for instance of: while (*p == ' ' || *p == '\t') p++; ... and replaced these with a call to skip_spaces. In some cases this might slightly change the semantics, as now other whitespace (like \r or \f) will be considered. However I don't think this matters. Regression tested on x86-64 Fedora 41. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions