public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* insight/257: stop button doesn't work for simulator targets
@ 2004-03-31 11:03 jon
  0 siblings, 0 replies; 2+ messages in thread
From: jon @ 2004-03-31 11:03 UTC (permalink / raw)
  To: insight-gnats


>Number:         257
>Category:       insight
>Synopsis:       stop button doesn't work for simulator targets
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 31 11:03:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     jon@beniston.com
>Release:        6.0
>Organization:
>Environment:
Cygwin
>Description:
The stop button doesn't work when the target is a simulator. The only way to interrupt it is by ctrl-cing in the shell window that insight was started from. Quite confusing.

I can believe that this is because simulator targets are not async, but isn't there a way around this? Can't the insight windows at least catch a ctrl-c?
>How-To-Repeat:
create a program that runs in an endless loop
run it 
try pressing the stop button -> nothing happens
hit ctrl-c / ctrl-break -> nothing happens
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: insight/257: stop button doesn't work for simulator targets
@ 2005-09-01  4:54 kseitz
  0 siblings, 0 replies; 2+ messages in thread
From: kseitz @ 2005-09-01  4:54 UTC (permalink / raw)
  To: insight-prs, jon, kseitz, nobody

Synopsis: stop button doesn't work for simulator targets

Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Thu Sep  1 04:54:19 2005
Responsible-Changed-Why:
    mine
State-Changed-From-To: open->analyzed
State-Changed-By: kseitz
State-Changed-When: Thu Sep  1 04:54:19 2005
State-Changed-Why:
    Control-C in almost every GUI environment means "copy". :-(
    
    But simulators should work with the "stop" button if the simulator was properly written to do this. I recall having to hack several simulators some years ago to properly support this.
    
    The stop button calls gdb's target_stop function. For most sims, this (eventually) calls sim_stop. Is this not implemented on your simulator?

http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=257


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-01  4:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-31 11:03 insight/257: stop button doesn't work for simulator targets jon
2005-09-01  4:54 kseitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).