diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-27 20:30:30 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-27 20:30:32 -0600 |
commit | 35a982372fd63da7dd2811d6150b0c61236bbbb5 (patch) | |
tree | aaf5771dc436250216fab311889bed1e641f4f1c /gdb/objc-lang.c | |
parent | 9e820dec13ec153f5843a30afe6d1c5037405278 (diff) | |
download | binutils-35a982372fd63da7dd2811d6150b0c61236bbbb5.zip binutils-35a982372fd63da7dd2811d6150b0c61236bbbb5.tar.gz binutils-35a982372fd63da7dd2811d6150b0c61236bbbb5.tar.bz2 |
Use ISCNTRL in tui_copy_source_line
This changes tui_copy_source_line to use ISCNTRL. This lets it work
more nicely with UTF-8 input. Note that this still won't work for
stateful multi-byte encodings; for that much more work would be
required. However, I think this patch does not make gdb any worse in
this scenario.
gdb/ChangeLog
2020-09-27 Tom Tromey <tom@tromey.com>
PR tui/25342:
* tui/tui-winsource.c (tui_copy_source_line): Use ISNCTRL.
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions