Bug 7251 - Make "target xxx" command interruptible.
Summary: Make "target xxx" command interruptible.
Status: ASSIGNED
Alias: None
Product: gdb
Classification: Unclassified
Component: remote (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-06 20:18 UTC by ac131313
Modified: 2008-12-19 19:12 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ac131313 2001-07-07 03:18:02 UTC
[Converted from Gnats 146]

Make "target xxx" command interruptible.

As things become async this becomes possible.  A target would start
the connect and then return control to the event loop.  A cntrl-c
would notify the target that the operation is to be abandoned and the
target code could respond.

Release:
unknown
Comment 1 Andrew Cagney 2002-03-19 02:19:18 UTC
From: cagney@sources.redhat.com
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: gdb/146
Date: 19 Mar 2002 02:19:18 -0000

 CVSROOT:	/cvs/src
 Module name:	src
 Changes by:	cagney@sources.redhat.com	2002-03-18 18:19:18
 
 Modified files:
 	gdb            : ChangeLog command.h 
 	gdb/cli        : cli-decode.c cli-decode.h 
 
 Log message:
 	* command.h (struct cmd_list_element): Add field context.
 	(set_cmd_context, get_cmd_context): Declare.
 	* cli/cli-decode.h: Ditto.
 	* cli/cli-decode.c (get_cmd_context): New function.
 	(set_cmd_context): New function.
 	(add_cmd): Initialize context.
 	Part of fixing PR gdb/145 and PR gdb/146.
 
 Patches:
 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.2328&r2=1.2329
 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/command.h.diff?cvsroot=src&r1=1.27&r2=1.28
 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-decode.c.diff?cvsroot=src&r1=1.16&r2=1.17
 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-decode.h.diff?cvsroot=src&r1=1.9&r2=1.10