From 3347eb1acf1a59339d00749fafbb901be9325cd4 Mon Sep 17 00:00:00 2001 From: xuepeng guo Date: Wed, 18 Jul 2012 04:36:24 +0000 Subject: 2012-07-18 Terry Guo 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. --- gdb/defs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/defs.h') 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: -- cgit v1.1