Bug 4595 - 'where' in fhpd when proc is running blows up
Summary: 'where' in fhpd when proc is running blows up
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
Depends on:
Blocks: 2246
  Show dependency treegraph
Reported: 2007-06-05 18:26 UTC by Mike Cvet
Modified: 2007-06-05 18:37 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
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.