From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27289 invoked by alias); 2 Apr 2008 22:17:11 -0000 Received: (qmail 27264 invoked by uid 367); 2 Apr 2008 22:17:11 -0000 Date: Wed, 02 Apr 2008 22:17:00 -0000 Message-ID: <20080402221711.27249.qmail@sourceware.org> From: cagney@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Add version and common options; tidy up. X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 4460603b1eb3abdcf12478a5e01334a9cf7a8545 X-Git-Newrev: 46d2f6c9241d74c5ce051beed0687143209f80a7 Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2008-q2/txt/msg00024.txt.bz2 The branch, master has been updated via 46d2f6c9241d74c5ce051beed0687143209f80a7 (commit) from 4460603b1eb3abdcf12478a5e01334a9cf7a8545 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 46d2f6c9241d74c5ce051beed0687143209f80a7 Author: Andrew Cagney Date: Wed Apr 2 18:14:48 2008 -0400 Add version and common options; tidy up. frysk-common/ChangeLog 2008-04-02 Andrew Cagney * Makefile.gen.sh (.xml): Recognize ENTITY volumes and names. frysk-core/frysk/bindir/ChangeLog 2008-04-02 Andrew Cagney * fstack.xml: Use a title and volume entity. * fauxv.xml: Add standard options and version. * fmaps.xml: Ditto. * fhpd.xml: Ditto. * fdebuginfo.xml: Ditto. * fdebugrpm.xml: Ditto. * fcore.xml: Ditto. * fexe.xml: Ditto. * ferror.xml: Add standard and stack options; and version. * fcatch.xml: Ditto. * ftrace.xml: Ditto. frysk-core/frysk/util/ChangeLog 2008-04-02 Andrew Cagney * stack-options.xml: Make refsect2. * standard-options.xml: Ditto. frysk-gui/frysk/bindir/ChangeLog 2008-04-02 Andrew Cagney * frysk.xml: Add version and standard options. frysk-gui/frysk/pkglibdir/ChangeLog 2008-04-02 Andrew Cagney * funit.xml: Add version and standard options. ----------------------------------------------------------------------- Summary of changes: frysk-common/ChangeLog | 4 + frysk-common/Makefile.gen.sh | 10 ++- frysk-core/frysk/bindir/ChangeLog | 14 +++ frysk-core/frysk/bindir/fauxv.xml | 122 +++++++---------------- frysk-core/frysk/bindir/fcatch.xml | 118 ++++++++-------------- frysk-core/frysk/bindir/fcore.xml | 151 ++++++++++------------------ frysk-core/frysk/bindir/fdebuginfo.xml | 144 ++++++++++----------------- frysk-core/frysk/bindir/fdebugrpm.xml | 137 +++++++++---------------- frysk-core/frysk/bindir/ferror.xml | 114 ++++++++------------- frysk-core/frysk/bindir/fexe.xml | 114 +++++++++------------ frysk-core/frysk/bindir/fhpd.xml | 125 +++++++++-------------- frysk-core/frysk/bindir/fmaps.xml | 130 ++++++++---------------- frysk-core/frysk/bindir/fstack.xml | 89 +++++----------- frysk-core/frysk/bindir/fstep.xml | 112 +++++++-------------- frysk-core/frysk/bindir/ftrace.xml | 21 +++- frysk-core/frysk/util/ChangeLog | 5 + frysk-core/frysk/util/stack-options.xml | 81 ++++++++------- frysk-core/frysk/util/standard-options.xml | 61 ++++++----- frysk-gui/frysk/bindir/ChangeLog | 4 + frysk-gui/frysk/bindir/frysk.xml | 101 ++++--------------- frysk-gui/frysk/pkglibdir/ChangeLog | 4 + frysk-gui/frysk/pkglibdir/funit.xml | 89 ++++------------- 22 files changed, 645 insertions(+), 1105 deletions(-) First 500 lines of diff: diff --git a/frysk-common/ChangeLog b/frysk-common/ChangeLog index ce6ebd0..1165e19 100644 --- a/frysk-common/ChangeLog +++ b/frysk-common/ChangeLog @@ -1,3 +1,7 @@ +2008-04-02 Andrew Cagney + + * Makefile.gen.sh (.xml): Recognize ENTITY volumes and names. + 2008-03-31 Andrew Cagney * manpages.sh: Handle @abs_root_srcdir@. diff --git a/frysk-common/Makefile.gen.sh b/frysk-common/Makefile.gen.sh index 21a4a1f..e8628a6 100755 --- a/frysk-common/Makefile.gen.sh +++ b/frysk-common/Makefile.gen.sh @@ -619,11 +619,15 @@ do *dir/* ) # Only programs in bindir, pkglibdir et.al. get man pages. # extract the section number - n=`sed -n -e 's,.*\([0-9]\).*,\1,p' < $xml` + n=`sed -n < $xml \ + -e 's,.*\([0-9]\).*,\1,p' \ + -e 's,.*ENTITY volume "\([0-9]\)".*,\1,p'` d=`dirname $xml` # And the possible list of names. - sed -n -e 's,^.*\(.*\).*$,\1,p' < $xml \ - | while read title ; do + sed -n < $xml \ + -e 's,^.*\(.*\).*$,\1,p' \ + -e 's,.*ENTITY command "\([^"]*\)".*,\1,p' \ + | sort -u | while read title ; do # Need to generate explicit rules cat < + + * fstack.xml: Use a title and volume entity. + * fauxv.xml: Add standard options and version. + * fmaps.xml: Ditto. + * fhpd.xml: Ditto. + * fdebuginfo.xml: Ditto. + * fdebugrpm.xml: Ditto. + * fcore.xml: Ditto. + * fexe.xml: Ditto. + * ferror.xml: Add standard and stack options; and version. + * fcatch.xml: Ditto. + * ftrace.xml: Ditto. + 2008-04-01 Andrew Cagney * TestFstack.java: Ditto. diff --git a/frysk-core/frysk/bindir/fauxv.xml b/frysk-core/frysk/bindir/fauxv.xml index 301ecce..3da4cdc 100644 --- a/frysk-core/frysk/bindir/fauxv.xml +++ b/frysk-core/frysk/bindir/fauxv.xml @@ -44,128 +44,80 @@ --> - - - - + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" + [ + + + + + + ] +> + + - fauxv - March 14 2008 + Frysk + April 2008 - fauxv - 1 + &command; + &volume; + Frysk + &version; fauxv - Prints out a process or a corefile's auxv data. + print the auxiliary vector - fauxv - - - + &command; - - - - pids corefile + options + + + pid + + + + core-file + + + core-executable + + + DESCRIPTION - fauxv Executes the frysk axuv dump utility. + fauxvprints the auxiliary vector of the + specified process or core-file. - fauxv is a utility that prints out a process or a corefile's auxv data. + &standardoptions; - - - - - Enable logging to the console and at the specified - log level. The log level can be: [ OFF | SEVERE | WARNING | INFO | CONFIG | FINE | FINER | FINEST]. - - - - - - Specify the file logging level. The log level can be: [ OFF | SEVERE | WARNING | INFO | CONFIG | FINE | FINER | FINEST]. - - - - - - - - - - - EXAMPLE - fauxv pid [...] + &command; 1234 - - - - SEE ALSO frysk(7) - - - - - - BUGS Report bugs to - - diff --git a/frysk-core/frysk/bindir/fcatch.xml b/frysk-core/frysk/bindir/fcatch.xml index d5da946..52dd1df 100644 --- a/frysk-core/frysk/bindir/fcatch.xml +++ b/frysk-core/frysk/bindir/fcatch.xml @@ -44,118 +44,80 @@ --> - - - - + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" + [ + + + + + + ] +> + + - fcatch - March 14 2008 + Frysk + April 2008 - fcatch - 1 + &command; + &volume; + Frysk + &version; fcatch - Runs the frysk application crash and signal stack tracing utility + print a stack back-trace of a program as it crashes - fcatch [OPTIONS] -- PATH ARGS - + &command; + + options + + + + + program + + + arg + + + DESCRIPTION - fcatch Runs the frysk application crash stack tracing utility + fcatch generate stack backtraces from a + running application as it crashes, or upon receiving a variety of + signals. - fcatch is a small utility that uses the frysk engine to generate stack backtraces from an application crash, or upon receiving a variety of signals. + &stackoptions; + &standardoptions; - - - - - - - - - EXAMPLE - fcatch /usr/bin/foo - fcatch -p [PID] + &command; 1234 + &command; /usr/bin/foo - - - - SEE ALSO - frysk(8) + frysk(7) - - - - - - BUGS Report bugs to - - diff --git a/frysk-core/frysk/bindir/fcore.xml b/frysk-core/frysk/bindir/fcore.xml index 840fb87..bcc705f 100644 --- a/frysk-core/frysk/bindir/fcore.xml +++ b/frysk-core/frysk/bindir/fcore.xml @@ -44,159 +44,110 @@ --> - - - - + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" + [ + + + + + + ] +> + + - fcore - March 14 2008 + Frysk + April 2008 - fcore - 1 + &command; + &volume; + Frysk + &version; fcore - Runs the frysk core dump utility. + extract a core file from a process - fcore - - - - - - - - - + &command; - - - - - - - pids + options + + + pid + + DESCRIPTION - fcore Executes the frysk core dump utility. - - fcore is a utility that constructs a core-file from a running process, and writes it to disk. + fcore constructs a core-file from a + running process, and writes it to disk. - + + + + + + Write all readable segment maps. The default level is - to attempt to emulate gcore segment writing strategy. By - specifying this option, fcore will write all readable maps. - + to attempt to emulate gcore segment writing strategy. By + specifying this option, fcore will write all readable + maps. + - + hooks/post-receive -- frysk system monitor/debugger