Dale
Dale

Reputation: 1308

Control character in gdb tui

From https://sourceware.org/gdb/onlinedocs/gdb/TUI-Keys.html I'm trying to familiarize myself with gdb -tui and cannot get the control character to behave as expected. What am I missing here?

(gdb) ^X^A Undefined command: "". Try "help".

Control + shift do not work either. I'm using Debian Jessie with kde if that helps. Is it possible this is a desktop interface problem?

Interestingly, control-c works to send the kill signal to the process. I can also suspend with c-z and go back to konsole.

Upvotes: 0

Views: 1074

Answers (1)

ks1322
ks1322

Reputation: 35775

TUI Key Bindings sometimes do not work, see https://stackoverflow.com/a/30763087/72178 and https://stackoverflow.com/a/30763033/72178.

As a workaround you can use these commands in recent versions of gdb:

tui enable
tui disable

Upvotes: 1

Related Questions