fhpd crashes when running a debugee. My test case is :fhpd /path/to/cc1; then "run". opsy. fhpd ~/gnu/Trunk/install/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1 [0.0] Loaded executable file: /home/tromey/gnu/Trunk/install/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1 (fhpd) run Exception in thread "main" inua.eio.BufferUnderflowException at inua.eio.ByteBuffer.get(fhpd) at frysk.stack.LibunwindAddressSpace.accessMem(fhpd) at lib.unwind.UnwindX86.step(fhpd) at lib.unwind.Cursor.step(fhpd) at lib.unwind.Cursor.unwind(fhpd) at frysk.stack.LibunwindFrame.unwind(fhpd) at frysk.stack.Frame.getOuter(fhpd) at frysk.debuginfo.DebugInfoFrame.unwind(fhpd) at frysk.stack.Frame.getOuter(fhpd) at frysk.debuginfo.DebugInfoFrame.getOuterDebugInfoFrame(fhpd) at frysk.debuginfo.DebugInfoStackFactory.createVirtualStackTrace(fhpd) at frysk.hpd.CLI$SteppingObserver.update(fhpd) at java.util.Observable.notifyObservers(libgcj.so.8rh) at frysk.stepping.SteppingEngine$SteppingObserver.updateExecuted(fhpd) at frysk.proc.live.LinuxPtraceProc$14.add(fhpd) at frysk.proc.live.LinuxPtraceTaskState$BlockedSignal.handleAddObservation(fhpd) at frysk.proc.live.LinuxPtraceTask.handleAddObservation(fhpd) at frysk.proc.live.TaskObservation.handleAdd(fhpd) at frysk.proc.live.LinuxPtraceProcState$3.handleAddObservation(fhpd) at frysk.proc.live.LinuxPtraceProc.handleAddObservation(fhpd) at frysk.proc.live.LinuxPtraceProc$14.execute(fhpd) at frysk.event.EventLoop.runEventLoop(fhpd) at frysk.event.EventLoop.run(fhpd) at frysk.bindir.fhpd.main(fhpd)
This fixes one think-o; but I can't reproduce locally. commit 6a0ea520d3eaebb371820f312c3bb40666c60265 Author: Andrew Cagney <cagney@redhat.com> Date: Fri Jul 4 11:24:41 2008 -0400 frysk-sys/inua/ChangeLog 2008-07-04 Andrew Cagney <cagney@redhat.com> * eio/ByteBuffer.java: Throw InternalException. * eio/BufferUnderflowException.java: Extend UserException.