← Back to team overview

touch-packages team mailing list archive

[Bug 1275210] Re: gdbtui does not give input and show cyrillic symbols

 

$ file main.c
main.c: C source, UTF-8 Unicode text

(gdb) show charset
The host character set is "auto; currently UTF-8".
The target character set is "auto; currently UTF-8".
The target wide character set is "auto; currently UTF-32".

Enter text:
-with TUI
(gdb) M-PM-?M-Q~@M-PM-8M-PM-2M-PM-5M-Q~B           // currently
-without TUI
(gdb) привет                                                                                    // must be

Without TUI
(gdb) list main.c:1
1	#include <stdio.h>
2	
3	int main()
4	{
5		printf("Привет Мир\n");                                              // correctly
6		return 0;
7	}

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1275210

Title:
  gdbtui does not give input and show cyrillic symbols

Status in “gdb” package in Ubuntu:
  Incomplete

Bug description:
  ┌──main.c────────────────────────────────────────────────────────────────────────────────┐
     │1       #include <stdio.h>                                                                                                               │
     │2                                                                                                                                        │
     │3       int main()                                                                                                                       │
     │4       {                                                                                                                                │
     │5               printf("M-P~_M-Q~@M-PM-8M-PM-2M-PM-5M-Q~B M-P~\M-PM-8M-Q~@\n");                                                          │
     │6               return 0;                                                                                                                │
     │7       }                                                                                                                                │
     │8                                                                                                                                                                                                                                                                            │
     └─────────────────────────────────────────────────────────────────────────────────────┘
  exec No process In:                                                                                                         Line: ??   PC: ??
  GNU gdb (GDB) 7.6.1-ubuntu
  Copyright (C) 2013 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-linux-gnu".
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>...
  Reading symbols from /home/eldar/hello...done.
  (gdb) M-Q~GM-Q~BM-PM-> M-Q~BM-PM-0M-PM-:M-PM->M-PM-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1275210/+subscriptions