To add some later findings, it turned out that: (1) The bug was reintroduced in version 8.3; (2) It affects only some CPU architectures. I tested version "Debian 8.3.1-1" on two 64-bit machines with the same version of Debian (Sid), one with PowerPC, and the other with SPARC. The bug shows up only on the SPARC machine, not the PowerPC one. I then built the generic version 8.3.1 on a 64-bit ARM machine. The bug didn't show up there. And then I built it on a 64-bit MIPS (big endian) machine, where the bug did show up. Repeated this with version 8.3. The bug showed up again. When I built the generic version 8.2.1 on the same MIPS machine, the bug didn't show up. A "diff -u gdb-8.2.1/gdb/tui gdb-8.3/gdb/tui" shows a lot of changes made in the TUI code of version 8.3 to add some colourisation to the TUI, and the bug was probably introduced during this process. Sorry that I can't help more to isolate the bug. But it's quite strange that it manifests itself only on x86-64, SPARC and MIPS, but not on ARM and PowerPC. I suppose that because of this, it will be rather hard to pinpoint.
-- 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: Fix Released 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp