This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Some TUI fixes
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 8 Nov 2016 19:56:50 +0100
- Subject: [PATCH 0/4] Some TUI fixes
- Authentication-results: sourceware.org; auth=none
This is a small series for fixing some problems in the TUI logic. The
first patch fixes a GDB crash, while the other patches make some of the
surrounding logic more consistent and readable.
Andreas Arnez (4):
tui-disasm: Fix window content buffer overrun
tui-disasm: Fix line buffer size calculation
tui-winsource: Allocate for actual lines only
tui-winsource: Remove failed-allocation logic
gdb/testsuite/gdb.base/tui-layout.c | 30 ++++++++++++++++++++++++
gdb/testsuite/gdb.base/tui-layout.exp | 17 +++++++++++---
gdb/tui/tui-disasm.c | 43 ++++++++++++++++-------------------
gdb/tui/tui-winsource.c | 22 ++++--------------
4 files changed, 69 insertions(+), 43 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/tui-layout.c
--
2.5.0