Bug 5386

Summary: fhpd nexti command causes an NPE on corefile process
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Phil Muldoon 2007-11-21 10:38:26 UTC
The nexti command should not be even allowed to run on a corefile process, and
checks should be placed to check for proper usage. Current usage:

[pmuldoon@localhost frysk_bin]$ ./frysk-core/frysk/bindir/fhpd core.11108
Attached to core file: /home/pmuldoon/frysk_bin/core.11108

(fhpd) nexti
Internal Error: java.lang.NullPointerException
   at frysk.stepping.SteppingEngine.stepNextInstruction(fhpd)
   at frysk.hpd.StepNextiCommand.interpret(fhpd)
   at frysk.hpd.ParameterizedCommand.interpret(fhpd)
   at frysk.hpd.MultiLevelCommand.interpret(fhpd)
   at frysk.hpd.CLI.execCommand(fhpd)
   at frysk.bindir.fhpd.main(fhpd)