Bug 4595

Summary: 'where' in fhpd when proc is running blows up
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Mike Cvet 2007-06-05 18:26:30 UTC
After typing 'go' on the process, and then a 'where':

(fhpd) where
#0 0x00000000004005a7 in foo() () from: /home/mcvet/stepper.c#86
ptrace: No such process (pt 0x2, pid 28612, addr 0x400768, data 0x0)
   at frysk.sys.Ptrace$AddressSpace.peek(fhpd)
   at frysk.proc.ptrace.AddressSpaceByteBuffer$PeeksRequest.execute(fhpd)
   at frysk.event.Request$Handler.execute(fhpd)
   at frysk.event.EventLoop.runEventLoop(fhpd)
   at frysk.event.EventLoop.run(fhpd)
Internal debugger error:
Comment 1 Mike Cvet 2007-06-05 18:26:47 UTC
I'll take this one
Comment 2 Mike Cvet 2007-06-05 18:37:17 UTC
2007-06-05  Mike Cvet  <mcvet@redhat.com>

	* hpd/CLI.java: Turned Hashtables into HashMaps. Fixes #3986.
	(running): Added.
	(StepHandler): Added. Handler for line stepping. Fixes #4594.
	(StepInstructionHandler): Added. Handler for instruction steping.
	Fixes #4594.
	(WhereHandler.handle): Bail immediately if the process is running.
	Fixes #4595.
	(GoHandler.handle): Sets running boolean.
	(HaltHandler.handle): Unsets running boolean.
	(CLI): Added new stepping handlers.