aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2004-12-07 11:06:04 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2004-12-07 11:06:04 +0000
commitf47b15032f1181ec95bd1666bd5c3193d80e638e (patch)
tree3d95d1ae520203aa99f9c6618defa85859ab0c1d /gdb/main.c
parent45ab555df7252440f6dd546a3ad2027f6e81c313 (diff)
downloadgdb-f47b15032f1181ec95bd1666bd5c3193d80e638e.zip
gdb-f47b15032f1181ec95bd1666bd5c3193d80e638e.tar.gz
gdb-f47b15032f1181ec95bd1666bd5c3193d80e638e.tar.bz2
* 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 d331bc5..5e8b2ac 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);