summaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2004-12-07 11:06:04 +0000
committerAndreas Schwab <schwab@suse.de>2004-12-07 11:06:04 +0000
commitfcb8b0b22e623d5198442834f5bedf197c27af5c (patch)
tree955bba2e58478e3736be4903f6320a146b255d0c /gdb/main.c
parentf99d2784c1e55dc90833bd7644abfe4173953d20 (diff)
downloadgdb-fcb8b0b22e623d5198442834f5bedf197c27af5c.tar.gz
* main.c (long_options): Add entry for "-l".
(print_gdb_help): Add line for -l option. * NEWS: Mention it. doc/ * gdb.texinfo (Mode Options): Document -l option.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index d331bc546ca..5e8b2acbbb6 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -300,6 +300,7 @@ captured_main (void *data)
{"statistics", no_argument, 0, OPT_STATISTICS},
{"write", no_argument, &write_files, 1},
{"args", no_argument, &set_args, 1},
+ {"l", required_argument, 0, 'l'},
{0, no_argument, 0, 0}
};
@@ -854,6 +855,7 @@ Options:\n\n\
Select a specific interpreter / user interface\n\
"), stream);
fputs_unfiltered (_("\
+ -l TIMEOUT Set timeout in seconds for remote debugging.\n\
--mapped Use mapped symbol files if supported on this system.\n\
--nw Do not use a window interface.\n\
--nx Do not read "), stream);