exit is still handled poorly.
R=rsc
APPROVED=rsc
DELTA=6 (6 added, 0 deleted, 0 changed)
OCL=34288
CL=34315
//
// Must be called from the monitor thread.
func (p *process) uninstallBreakpoints() os.Error {
+ if len(p.threads) == 0 {
+ return nil;
+ }
n := 0;
main := p.someStoppedThread();
for _, b := range p.breakpoints {
//
// Must be called from the monitor thread.
func (p *process) uninstallBreakpoints() os.Error {
+ if len(p.threads) == 0 {
+ return nil;
+ }
n := 0;
main := p.someStoppedThread();
for _, b := range p.breakpoints {