aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1999-01-13 23:44:07 +0000
committerMichael Snyder <msnyder@vmware.com>1999-01-13 23:44:07 +0000
commit677f415c03a33889e1f133003f2e3dc15368dcb3 (patch)
tree30a3f20ea0b2b7a6d427cb989c4091c28938ddd0 /gdb/serial.c
parent9e309e83417ed559d01f8d690085300771ddd75e (diff)
downloadgdb-677f415c03a33889e1f133003f2e3dc15368dcb3.zip
gdb-677f415c03a33889e1f133003f2e3dc15368dcb3.tar.gz
gdb-677f415c03a33889e1f133003f2e3dc15368dcb3.tar.bz2
* thread.c: cull duplicate prototypes. Move prototypes to top.
* serial.c: indentation cleanup. * breakpoint.c: add casts to eliminate compiler warnings.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c26
1 files changed, 14 insertions, 12 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 07638ed..7e182cf 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -508,17 +508,19 @@ _initialize_serial ()
Use <CR>~. or <CR>~^D to break out.");
#endif /* 0 */
- add_show_from_set (add_set_cmd ("remotelogfile", no_class,
- var_filename, (char *)&serial_logfile,
- "Set filename for remote session recording.\n\
+ add_show_from_set
+ (add_set_cmd ("remotelogfile", no_class,
+ var_filename, (char *) &serial_logfile,
+ "Set filename for remote session recording.\n\
This file is used to record the remote session for future playback\n\
-by gdbserver.", &setlist),
- &showlist);
-
- add_show_from_set (add_set_enum_cmd ("remotelogbase", no_class,
- logbase_enums,
- (char *)&serial_logbase,
- "Set numerical base for remote session logging",
- &setlist),
- &showlist);
+by gdbserver.",
+ &setlist),
+ &showlist);
+
+ add_show_from_set
+ (add_set_enum_cmd ("remotelogbase", no_class,
+ logbase_enums, (char *) &serial_logbase,
+ "Set numerical base for remote session logging",
+ &setlist),
+ &showlist);
}