diff options
| author | Tom Tromey <tromey@adacore.com> | 2025-07-03 12:35:11 -0600 |
|---|---|---|
| committer | Tom Tromey <tromey@adacore.com> | 2025-07-07 08:52:09 -0600 |
| commit | 0a082f5cf8a5e42b7c947b377c117ec3451dcce8 (patch) | |
| tree | 786ddbde32807985d456c3e6473266962d0438db /gdb/python/py-infthread.c | |
| parent | 392f8c40f0d3d9cbd4ee38d94bde06cf1b845e9f (diff) | |
| download | binutils-0a082f5cf8a5e42b7c947b377c117ec3451dcce8.zip binutils-0a082f5cf8a5e42b7c947b377c117ec3451dcce8.tar.gz binutils-0a082f5cf8a5e42b7c947b377c117ec3451dcce8.tar.bz2 | |
Correctly handle L'\\'
Hannes filed a bug that pointed out that:
print L'\\'
... did not work correctly. The bug is in convert_escape, which
simply transcribes the backslash character, rather than convert it
between encodings.
This patch fixes the error. I also turned a macro into a lambda to
clean up this code a little.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33124
Reviewed-By: Tom de Vries <tdevries@suse.de>
Tested-By: Hannes Domani <ssbssa@yahoo.de>
Diffstat (limited to 'gdb/python/py-infthread.c')
0 files changed, 0 insertions, 0 deletions
