diff options
| author | Tom Tromey <tromey@adacore.com> | 2025-12-12 11:45:42 -0700 |
|---|---|---|
| committer | Tom Tromey <tromey@adacore.com> | 2025-12-15 07:25:56 -0700 |
| commit | 60a614d2a56dff3c70bde93a93121ea52338b678 (patch) | |
| tree | 6c257dc54ddd935e1309d691b04f4f3521fea786 /gdb/python | |
| parent | d0514e7441a688e8a51f051c58fde179ffae64cf (diff) | |
| download | binutils-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
