From 318bba3d53abf08204a123e4beba9e6031ca490b Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 14 Jan 2005 01:59:20 +0000 Subject: 2005-01-13 Michael Snyder * ser-tcp.c: Whitespace tweaks. * ser-unix.c: Whitespace tweaks. * serial.h: Whitespace tweaks. --- gdb/ser-unix.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'gdb/ser-unix.c') diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c index 6f64f419b33..cf77be0d2a3 100644 --- a/gdb/ser-unix.c +++ b/gdb/ser-unix.c @@ -565,11 +565,12 @@ do_hardwire_readchar (struct serial *scb, int timeout) if (timeout > 0) timeout++; - /* We have to be able to keep the GUI alive here, so we break the original - timeout into steps of 1 second, running the "keep the GUI alive" hook - each time through the loop. - Also, timeout = 0 means to poll, so we just set the delta to 0, so we - will only go through the loop once. */ + /* We have to be able to keep the GUI alive here, so we break the + original timeout into steps of 1 second, running the "keep the + GUI alive" hook each time through the loop. + + Also, timeout = 0 means to poll, so we just set the delta to 0, + so we will only go through the loop once. */ delta = (timeout == 0 ? 0 : 1); while (1) @@ -944,12 +945,12 @@ do_unix_readchar (struct serial *scb, int timeout) int status; int delta; - /* We have to be able to keep the GUI alive here, so we break the original - timeout into steps of 1 second, running the "keep the GUI alive" hook - each time through the loop. + /* We have to be able to keep the GUI alive here, so we break the + original timeout into steps of 1 second, running the "keep the + GUI alive" hook each time through the loop. - Also, timeout = 0 means to poll, so we just set the delta to 0, so we - will only go through the loop once. */ + Also, timeout = 0 means to poll, so we just set the delta to 0, + so we will only go through the loop once. */ delta = (timeout == 0 ? 0 : 1); while (1) -- cgit v1.2.1