The commands fmaps, fauxv, fexe, and fdebuginfo all have a basic common behavior in that: - the work on core files, executables, and live processes - require the main thread to be "stopped" to perform their operation they should share a common infrastructure for implementing this
Framework for frysk utilities that requires tasks to be stopped. frysk-core/frysk/util/ChangeLog 2008-02-06 Teresa Thomas <tthomas@redhat.com> * ProcStopUtil.java: New. frysk-core/frysk/event/ChangeLog 2008-02-06 Teresa Thomas <tthomas@redhat.com> * ProcEvent.java: New.
Known bugs: ProcStopUtil does not handle multiple pids. Currently, program calls System.exit() after executing event for one pid. How can we pass control from ProcBlockAction's execute back to parser, so other procs can be handled?
ProcStopUtil added. fmaps, fauxv, fexe, and fdebuginfo use ProcStopUtil. ---------------------------------------------------- Commits: frysk-core/frysk/bindir/ChangeLog 2008-02-07 Teresa Thomas <tthomas@redhat.com> * fmaps.java: Refactor to use ProcStopUtil. frysk-core/frysk/bindir/ChangeLog 2008-02-06 Teresa Thomas <tthomas@redhat.com> * fdebuginfo.java (main): Use ProcStopUtil. * TestFdebuginfo.java (testNoArguments): Update. frysk-core/frysk/bindir/ChangeLog 2008-02-08 Teresa Thomas <tthomas@redhat.com> * fauxv.java: Refactor to use ProcStopUtil. frysk-core/frysk/bindir/ChangeLog: 2008-02-20 Teresa Thomas <tthomas@redhat.com> * fexe.java: Refactor to use ProcStopUtil.