aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index e253c0e..ece7546 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -216,7 +216,7 @@ serial_open (const char *name)
{
#ifndef USE_WIN32API
/* Check to see if name is a socket. If it is, then treat it
- as such. Otherwise assume that it's a character device. */
+ as such. Otherwise assume that it's a character device. */
struct stat sb;
if (stat (name, &sb) == 0 && (sb.st_mode & S_IFMT) == S_IFSOCK)
ops = serial_interface_lookup ("local");
@@ -401,7 +401,7 @@ serial_readchar (struct serial *scb, int timeout)
serial_logchar (serial_logfp, 'r', ch, timeout);
/* Make sure that the log file is as up-to-date as possible,
- in case we are getting ready to dump core or something. */
+ in case we are getting ready to dump core or something. */
gdb_flush (serial_logfp);
}
if (serial_debug_p (scb))
@@ -427,7 +427,7 @@ serial_write (struct serial *scb, const void *buf, size_t count)
serial_logchar (serial_logfp, 'w', str[c] & 0xff, 0);
/* Make sure that the log file is as up-to-date as possible,
- in case we are getting ready to dump core or something. */
+ in case we are getting ready to dump core or something. */
gdb_flush (serial_logfp);
}
if (serial_debug_p (scb))
@@ -696,12 +696,12 @@ using remote targets."),
&serial_set_cmdlist, &serial_show_cmdlist);
add_setshow_enum_cmd ("parity", no_class, parity_enums,
- &parity, _("\
+ &parity, _("\
Set parity for remote serial I/O."), _("\
Show parity for remote serial I/O."), NULL,
- set_parity,
- NULL, /* FIXME: i18n: */
- &serial_set_cmdlist, &serial_show_cmdlist);
+ set_parity,
+ NULL, /* FIXME: i18n: */
+ &serial_set_cmdlist, &serial_show_cmdlist);
add_setshow_filename_cmd ("remotelogfile", no_class, &serial_logfile, _("\
Set filename for remote session recording."), _("\