* 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.
This commit is contained in:
Andreas Schwab 2004-12-07 11:06:04 +00:00
parent 45ab555df7
commit f47b15032f
5 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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}

View File

@ -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);