diff options
author | xuepeng guo <xguo@sourceware.org> | 2012-07-18 04:36:24 +0000 |
---|---|---|
committer | xuepeng guo <xguo@sourceware.org> | 2012-07-18 04:36:24 +0000 |
commit | 3347eb1acf1a59339d00749fafbb901be9325cd4 (patch) | |
tree | 1d6bd9dae089dea7b15aa27dde3d469be8038cbf /gdb/defs.h | |
parent | 80c8d3230e81862434d79e2395363736cb09b509 (diff) | |
download | gdb-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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: |