aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/NEWS5
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo5
-rw-r--r--gdb/main.c2
5 files changed, 22 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2325987..953c707 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2004-12-07 Andreas Schwab <schwab@suse.de>
+
+ * main.c (long_options): Add entry for "-l".
+ (print_gdb_help): Add line for -l option.
+ * NEWS: Mention it.
+
2004-12-05 Randolph Chung <tausq@debian.org>
* hppah-nat.c (store_inferior_registers): Rewrite logic to not use
diff --git a/gdb/NEWS b/gdb/NEWS
index dd39caa..7f93295 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -14,6 +14,11 @@ NEC V850 v850-*-*
*** Changes in GDB 6.3:
+* New command line option
+
+GDB now accepts -l followed by a number to set the timeout for remote
+debugging.
+
* GDB works with GCC -feliminate-dwarf2-dups
GDB now supports a more compact representation of DWARF-2 debug
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index fa942c0..7283bde 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-07 Andreas Schwab <schwab@suse.de>
+
+ * gdb.texinfo (Mode Options): Document -l option.
+
2004-12-04 Eli Zaretskii <eliz@gnu.org>
* gdbint.texinfo (Algorithms): More accurate description of
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 348c6c2..bf59d71 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -1078,6 +1078,11 @@ This option stops option processing.
Set the line speed (baud rate or bits per second) of any serial
interface used by @value{GDBN} for remote debugging.
+@item -l @var{timeout}
+@cindex @code{-l}
+Set the timeout (in seconds) of any communication used by @value{GDBN}
+for remote debugging.
+
@item -tty @var{device}
@itemx -t @var{device}
@cindex @code{--tty}
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);