This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
remote/1694: -l option (to set remote timeout) doesn't work
- From: jon at beniston dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 26 Jun 2004 18:57:35 -0000
- Subject: remote/1694: -l option (to set remote timeout) doesn't work
- Reply-to: jon at beniston dot com
>Number: 1694
>Category: remote
>Synopsis: -l option (to set remote timeout) doesn't work
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 26 18:58:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: jon@beniston.com
>Release: 6.0
>Organization:
>Environment:
Cygwin - Applicable to all other platforms
>Description:
The -l option to set the remote timeout does not work. This is because it is missing from main.c:captured_main() long_options data structure.
It would be useful if this could also be set with "set remote timeout N"
>How-To-Repeat:
Invoke GDB with:
gdb -l 5 prog.x
>Fix:
Add this entry to long_options:
{"l", required_argument, 0, 'l'},
>Release-Note:
>Audit-Trail:
>Unformatted: