This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
Test results for commit d9080678121a84fc433a5f2ee141ee98512d2167 on branch master
- From: sergiodj at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Tue, 10 Feb 2015 20:34:25 -0500
- Subject: Test results for commit d9080678121a84fc433a5f2ee141ee98512d2167 on branch master
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT d9080678121a84fc433a5f2ee141ee98512d2167 ***
Author: Patrick Palka <patrick@parcs.ath.cx>
Branch: master
Commit: d9080678121a84fc433a5f2ee141ee98512d2167
Fix truncation of TUI command history
If we submit a command while the prompt cursor is somewhere other than
at the end of the command line, the command line gets truncated as the
command window gets shifted one line up. This happens because we fail
to properly move the cursor to the end of the command line before
transmitting the newline to ncurses. We need to move the cursor because
when ncurses outputs a newline it truncates any text that appears
past the end of the cursor.
The fix is generic enough to work properly even in multi-line secondary
prompts like the quit prompt.
gdb/ChangeLog:
* tui/tui-io.c (tui_getc): Move cursor to the end of the command
line before printing a newline.
- Follow-Ups:
- Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master
- Failures on Fedora-ppc64le-cc-with-index, branch master
- Failures on Fedora-ppc64le-native-gdbserver-m64, branch master
- Failures on Fedora-ppc64le-m64, branch master
- Failures on Fedora-ppc64be-m64, branch master
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master
- Failures on Fedora-x86_64-native-gdbserver-m32, branch master
- Failures on Debian-i686-cc-with-index, branch master
- Failures on Debian-x86_64-m64, branch master
- Failures on Debian-x86_64-native-gdbserver-m64, branch master