This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] Some TUI fixes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]