This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

remote/1694: -l option (to set remote timeout) doesn't work


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]