This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

i18n/2296: gdb displays non utf-8 conforming text to utf-8 terminals


>Number:         2296
>Category:       i18n
>Synopsis:       gdb displays non utf-8 conforming text to utf-8 terminals
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 08 09:58:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     tpeland@tkukoulu.fi
>Release:        6.6
>Organization:
>Environment:

>Description:
At least command "info local" prints variable contents thinking that most(?) iso-8859-1 characters are valid for the terminal used.

As utf-8 is becomming more and more the default setting this is a problem.
>How-To-Repeat:
# make sure your program has characters like \162 \185 in a local variable
$ export LC_CTYPE=fi_FI.UTF-8
$ gdb myprog mycore
(gdb) info local
chunk_header = "`\203=¢¹*\000\000\000\236"
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]