diff options
author | Tom de Vries <tdevries@suse.de> | 2023-07-26 13:31:53 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-07-26 13:31:53 +0200 |
commit | 87c9b0289d73382cc72adb84d221b0a8ceb33ef8 (patch) | |
tree | dd2dc5d8216792a23b31961de29d91eb2c8b1568 /binutils/filemode.c | |
parent | 2b8bee8b34dd1c7b5ccac636e184c5cbff61adea (diff) | |
download | binutils-87c9b0289d73382cc72adb84d221b0a8ceb33ef8.zip binutils-87c9b0289d73382cc72adb84d221b0a8ceb33ef8.tar.gz binutils-87c9b0289d73382cc72adb84d221b0a8ceb33ef8.tar.bz2 |
[gdb/tui] Fix secondary prompt
With CLI, a session defining a command looks like:
...
(gdb) define foo
Type commands for definition of "foo".
End with a line saying just "end".
>bar
>end
(gdb)
...
With TUI however, we get the same secondary prompts, and type the same, but
are left with:
...
(gdb) define foo
Type commands for definition of "foo".
End with a line saying just "end".
(gdb)
...
Fix this by calling tui_inject_newline_into_command_window in
gdb_readline_wrapper_line, as is done in tui_command_line_handler.
Tested on x86_64-linux.
PR tui/30636
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30636
Diffstat (limited to 'binutils/filemode.c')
0 files changed, 0 insertions, 0 deletions