aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorxuepeng guo <xguo@sourceware.org>2012-07-18 04:36:24 +0000
committerxuepeng guo <xguo@sourceware.org>2012-07-18 04:36:24 +0000
commit3347eb1acf1a59339d00749fafbb901be9325cd4 (patch)
tree1d6bd9dae089dea7b15aa27dde3d469be8038cbf /gdb/defs.h
parent80c8d3230e81862434d79e2395363736cb09b509 (diff)
downloadgdb-3347eb1acf1a59339d00749fafbb901be9325cd4.zip
gdb-3347eb1acf1a59339d00749fafbb901be9325cd4.tar.gz
gdb-3347eb1acf1a59339d00749fafbb901be9325cd4.tar.bz2
2012-07-18 Terry Guo <terry.guo@arm.com>
PR 14329 * defs.h (GDB_MI_MSG_WIDTH): New. * ser_base (ser_base_read_error_fd): New function. (do_ser_base_readchar): Poll error file descriptor as well as standard output. (generic_readchar): Refactor error handling.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 1c6fa79..bd556b0 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1115,6 +1115,9 @@ extern int use_windows;
#define ISATTY(FP) (isatty (fileno (FP)))
#endif
+/* A width that can achieve a better legibility for GDB MI mode. */
+#define GDB_MI_MSG_WIDTH 80
+
/* Ensure that V is aligned to an N byte boundary (B's assumed to be a
power of 2). Round up/down when necessary. Examples of correct
use include: