wchargin at gmail dot com
2016-11-14 15:52:00 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=20819
Bug ID: 20819
Summary: Binding Control-j in inputrc breaks "layout asm"
Product: gdb
Version: 7.7
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: wchargin at gmail dot com
Target Milestone: ---
Steps to reproduce:
1. Replace contents of ~/.inputrc with the single line "Control-j:
menu-complete".
2. Open gdb.
3. Enter "layout asm" and press Enter.
4. Type "help" and press Enter.
Expected behavior: the help menu should appear.
Actual behavior: the prompt begins menu-completing through "help <",
"help >", "help -", "help !", "help +", "help actions", "help
add-auto-load-safe-path", etc.
Hypothesis: because J is ASCII 0x4a, Ctrl-J is 0x4a & ~(0x40), and so a
newline character 0x0a is incorrectly triggering menu-complete.
Note that this behavior does not impact other programs that use
readline, like bash(1) and python(1).
This is GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1.
Bug ID: 20819
Summary: Binding Control-j in inputrc breaks "layout asm"
Product: gdb
Version: 7.7
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: wchargin at gmail dot com
Target Milestone: ---
Steps to reproduce:
1. Replace contents of ~/.inputrc with the single line "Control-j:
menu-complete".
2. Open gdb.
3. Enter "layout asm" and press Enter.
4. Type "help" and press Enter.
Expected behavior: the help menu should appear.
Actual behavior: the prompt begins menu-completing through "help <",
"help >", "help -", "help !", "help +", "help actions", "help
add-auto-load-safe-path", etc.
Hypothesis: because J is ASCII 0x4a, Ctrl-J is 0x4a & ~(0x40), and so a
newline character 0x0a is incorrectly triggering menu-complete.
Note that this behavior does not impact other programs that use
readline, like bash(1) and python(1).
This is GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.