Bug 5845 - cntrl-c crashes frysk
Summary: cntrl-c crashes frysk
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Teresa Thomas
URL:
Keywords:
Depends on: 5914
Blocks: 5829
  Show dependency treegraph
 
Reported: 2008-03-03 21:23 UTC by Andrew Cagney
Modified: 2008-03-11 19:40 UTC (History)
0 users

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 Andrew Cagney 2008-03-03 21:23:26 UTC
First step is to just install the signal handler; see frysk.event.SignalEvent;
and print that a cntrl-c occured.

After that is pushing the event into things like the hpd and stepping engine so
that they know that they should halt the current operation.

(note that this doesn't mean trying to use Java 1.0's deprecated interrupt
mechanism)
Comment 1 Teresa Thomas 2008-03-11 19:40:30 UTC
    Ctrl-C handling for fhpd.
    
    frysk-core/frysk/hpd/ChangeLog:
    2008-03-07  Teresa Thomas  <tthomas@redhat.com>
    .
    	* CLI.java (SteppingObserver.getMonitor): Add events to
    	handle SIGINT.
    	* ShellCommand.java (interpretCommand): Ditto.
    	* SigIntHandler.java: New.
    
    frysk-core/frysk/bindir/ChangeLog:
    2008-03-07  Teresa Thomas  <tthomas@redhat.com>
    
    	* fhpd.java (main): Add event to handle SIGINT.