This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
remote/1571: Documentation and implementation of detach differ
- From: trini at kernel dot crashing dot org
- To: gdb-gnats at sources dot redhat dot com
- Date: 25 Feb 2004 18:20:08 -0000
- Subject: remote/1571: Documentation and implementation of detach differ
- Reply-to: trini at kernel dot crashing dot org
>Number: 1571
>Category: remote
>Synopsis: Documentation and implementation of detach differ
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Feb 25 18:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: trini@kernel.crashing.org
>Release: gdb-6.0
>Organization:
>Environment:
Debian/sid (gdb-6.0-6)
>Description:
The documentation for the detach packet says that gdb doesn't check for a response. But in gdb/remote.c::remote_detach, remote_send is called to put the "D" packet out, which does a putpkt();getpkt();. So if the remote side doesn't send a reply, timeouts occur.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: