Your message dated Mon, 11 Nov 2024 18:43:30 -0500
with message-id <87ldxpl4kd....@debian.org>
and subject line Closing
has caused the Debian Bug report #116035,
regarding gdb: does not work with UTF-8 strings
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
116035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=116035
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gdb
Version: 5.0.cvs20011007-2
Severity: normal

GDB can't display UTF-8 strings, regardless of "sevenbit-strings", due to
undocumented behavior:

utils.c: printchar():

  if (c < 0x20 ||               /* Low control chars */
  (c >= 0x7F && c < 0xA0) ||        /* DEL, High controls */
  (sevenbit_strings && c >= 0x80))

"sevenbit-strings" is documented as printing 8-bit characters as \xxx;
however, it's ignored for 0x80 through 0x9F, so UTF-8 strings get mangled.

At least change that to "c == 0x7F"; if some oddball terminals think
0x80 through 0x9F are control characters (I've never seen any that do),
add a different option for that.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux zewt.org 2.4.4-xfs #2 SMP Sun May 27 17:49:22 EDT 2001 
i686 unknown

Versions of the packages gdb depends on:
ii  libc6          2.2.4-3        GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.2.20010318-3 Shared libraries for terminal handling


--- End Message ---
--- Begin Message ---
This is a pretty old bug report; GDB nowadays should be able to handle
UTF-8 strings.

Closing.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to