From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21320 invoked by alias); 6 Feb 2008 01:56:59 -0000 Received: (qmail 20976 invoked by uid 367); 6 Feb 2008 01:56:53 -0000 Date: Wed, 06 Feb 2008 01:56:00 -0000 Message-ID: <20080206015653.20961.qmail@sourceware.org> From: cagney@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Move corefile code to frysk.isa.corefiles. X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 8b7aab0ff7f664b99bd1ce16541a92b6b7cee8e2 X-Git-Newrev: d878fff3cc262429de21d0883ce3398016ed509d 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-q1/txt/msg00157.txt.bz2 The branch, master has been updated via d878fff3cc262429de21d0883ce3398016ed509d (commit) from 8b7aab0ff7f664b99bd1ce16541a92b6b7cee8e2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit d878fff3cc262429de21d0883ce3398016ed509d Author: Andrew Cagney Date: Tue Feb 5 20:56:14 2008 -0500 Move corefile code to frysk.isa.corefiles. frysk-core/frysk/hpd/ChangeLog 2008-02-05 Andrew Cagney * GenerateCoreCommand.java: Update; corefiles moved to frysk.isa.corefiles. frysk-core/frysk/util/ChangeLog 2008-02-05 Andrew Cagney * X8664LinuxElfCorefile.java: Move to frysk.isa.corefiles. * PPC64LinuxElfCorefile.java: Move to frysk.isa.corefiles. * PPC32LinuxElfCorefile.java: Move to frysk.isa.corefiles. * LinuxElfCorefileFactory.java: Move to frysk.isa.corefiles. * LinuxElfCorefile.java: Move to frysk.isa.corefiles. * IA32LinuxElfCorefile.java: Move to frysk.isa.corefiles. * CoredumpAction.java: Update. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/hpd/ChangeLog | 5 + frysk-core/frysk/hpd/GenerateCoreCommand.java | 4 +- frysk-core/frysk/isa/corefiles/ChangeLog | 15 ++++ .../corefiles}/IA32LinuxElfCorefile.java | 2 +- .../{util => isa/corefiles}/LinuxElfCorefile.java | 2 +- .../corefiles}/LinuxElfCorefileFactory.java | 2 +- .../corefiles}/PPC32LinuxElfCorefile.java | 2 +- .../corefiles}/PPC64LinuxElfCorefile.java | 2 +- .../corefiles}/X8664LinuxElfCorefile.java | 2 +- frysk-core/frysk/isa/corefiles/package.html | 7 ++ frysk-core/frysk/util/ChangeLog | 10 +++ frysk-core/frysk/util/CoredumpAction.java | 78 ++++++++++---------- 12 files changed, 85 insertions(+), 46 deletions(-) create mode 100644 frysk-core/frysk/isa/corefiles/ChangeLog rename frysk-core/frysk/{util => isa/corefiles}/IA32LinuxElfCorefile.java (99%) rename frysk-core/frysk/{util => isa/corefiles}/LinuxElfCorefile.java (99%) rename frysk-core/frysk/{util => isa/corefiles}/LinuxElfCorefileFactory.java (99%) rename frysk-core/frysk/{util => isa/corefiles}/PPC32LinuxElfCorefile.java (99%) rename frysk-core/frysk/{util => isa/corefiles}/PPC64LinuxElfCorefile.java (99%) rename frysk-core/frysk/{util => isa/corefiles}/X8664LinuxElfCorefile.java (99%) create mode 100644 frysk-core/frysk/isa/corefiles/package.html First 500 lines of diff: diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog index 1cd9387..cb14df0 100644 --- a/frysk-core/frysk/hpd/ChangeLog +++ b/frysk-core/frysk/hpd/ChangeLog @@ -1,3 +1,8 @@ +2008-02-05 Andrew Cagney + + * GenerateCoreCommand.java: Update; corefiles moved to + frysk.isa.corefiles. + 2008-02-04 Rick Moseley * LoadCommand.java: Show loaded procs when no parameters are entered. diff --git a/frysk-core/frysk/hpd/GenerateCoreCommand.java b/frysk-core/frysk/hpd/GenerateCoreCommand.java index 58b510b..8f86723 100644 --- a/frysk-core/frysk/hpd/GenerateCoreCommand.java +++ b/frysk-core/frysk/hpd/GenerateCoreCommand.java @@ -47,8 +47,8 @@ import java.util.List; import frysk.proc.Proc; import frysk.proc.Task; import frysk.proc.dead.DeadProc; -import frysk.util.LinuxElfCorefile; -import frysk.util.LinuxElfCorefileFactory; +import frysk.isa.corefiles.LinuxElfCorefile; +import frysk.isa.corefiles.LinuxElfCorefileFactory; public class GenerateCoreCommand extends ParameterizedCommand { diff --git a/frysk-core/frysk/isa/corefiles/ChangeLog b/frysk-core/frysk/isa/corefiles/ChangeLog new file mode 100644 index 0000000..69231ce --- /dev/null +++ b/frysk-core/frysk/isa/corefiles/ChangeLog @@ -0,0 +1,15 @@ +2008-02-05 Andrew Cagney + + * X8664LinuxElfCorefile.java: Move from frysk.utils. + * PPC64LinuxElfCorefile.java: Move from frysk.utils. + * PPC32LinuxElfCorefile.java: Move from frysk.utils. + * LinuxElfCorefileFactory.java: Move from frysk.utils. + * LinuxElfCorefile.java: Move from frysk.utils. + * IA32LinuxElfCorefile.java: Move from frysk.utils. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/frysk-core/frysk/util/IA32LinuxElfCorefile.java b/frysk-core/frysk/isa/corefiles/IA32LinuxElfCorefile.java similarity index 99% rename from frysk-core/frysk/util/IA32LinuxElfCorefile.java rename to frysk-core/frysk/isa/corefiles/IA32LinuxElfCorefile.java index c749812..8062558 100644 --- a/frysk-core/frysk/util/IA32LinuxElfCorefile.java +++ b/frysk-core/frysk/isa/corefiles/IA32LinuxElfCorefile.java @@ -37,7 +37,7 @@ // version and license this file solely under the GPL without // exception. -package frysk.util; +package frysk.isa.corefiles; import inua.eio.ArrayByteBuffer; diff --git a/frysk-core/frysk/util/LinuxElfCorefile.java b/frysk-core/frysk/isa/corefiles/LinuxElfCorefile.java similarity index 99% rename from frysk-core/frysk/util/LinuxElfCorefile.java rename to frysk-core/frysk/isa/corefiles/LinuxElfCorefile.java index 658c2b7..5be0c33 100644 --- a/frysk-core/frysk/util/LinuxElfCorefile.java +++ b/frysk-core/frysk/isa/corefiles/LinuxElfCorefile.java @@ -37,7 +37,7 @@ //version and license this file solely under the GPL without //exception. -package frysk.util; +package frysk.isa.corefiles; import inua.eio.ByteOrder; import frysk.isa.ISA; diff --git a/frysk-core/frysk/util/LinuxElfCorefileFactory.java b/frysk-core/frysk/isa/corefiles/LinuxElfCorefileFactory.java similarity index 99% rename from frysk-core/frysk/util/LinuxElfCorefileFactory.java rename to frysk-core/frysk/isa/corefiles/LinuxElfCorefileFactory.java index f206a85..7ad3c42 100644 --- a/frysk-core/frysk/util/LinuxElfCorefileFactory.java +++ b/frysk-core/frysk/isa/corefiles/LinuxElfCorefileFactory.java @@ -38,7 +38,7 @@ // version and license this file solely under the GPL without // exception. -package frysk.util; +package frysk.isa.corefiles; import frysk.isa.ISA; diff --git a/frysk-core/frysk/util/PPC32LinuxElfCorefile.java b/frysk-core/frysk/isa/corefiles/PPC32LinuxElfCorefile.java similarity index 99% rename from frysk-core/frysk/util/PPC32LinuxElfCorefile.java rename to frysk-core/frysk/isa/corefiles/PPC32LinuxElfCorefile.java index 9bf0d13..1581bbc 100644 --- a/frysk-core/frysk/util/PPC32LinuxElfCorefile.java +++ b/frysk-core/frysk/isa/corefiles/PPC32LinuxElfCorefile.java @@ -41,7 +41,7 @@ // version and license this file solely under the GPL without // exception. -package frysk.util; +package frysk.isa.corefiles; import java.util.Iterator; diff --git a/frysk-core/frysk/util/PPC64LinuxElfCorefile.java b/frysk-core/frysk/isa/corefiles/PPC64LinuxElfCorefile.java similarity index 99% rename from frysk-core/frysk/util/PPC64LinuxElfCorefile.java rename to frysk-core/frysk/isa/corefiles/PPC64LinuxElfCorefile.java index ecd2e54..f2467e1 100644 --- a/frysk-core/frysk/util/PPC64LinuxElfCorefile.java +++ b/frysk-core/frysk/isa/corefiles/PPC64LinuxElfCorefile.java @@ -41,7 +41,7 @@ // version and license this file solely under the GPL without // exception. -package frysk.util; +package frysk.isa.corefiles; import inua.eio.ArrayByteBuffer; diff --git a/frysk-core/frysk/util/X8664LinuxElfCorefile.java b/frysk-core/frysk/isa/corefiles/X8664LinuxElfCorefile.java similarity index 99% rename from frysk-core/frysk/util/X8664LinuxElfCorefile.java rename to frysk-core/frysk/isa/corefiles/X8664LinuxElfCorefile.java index a429924..0cdd89d 100644 --- a/frysk-core/frysk/util/X8664LinuxElfCorefile.java +++ b/frysk-core/frysk/isa/corefiles/X8664LinuxElfCorefile.java @@ -37,7 +37,7 @@ // version and license this file solely under the GPL without // exception. -package frysk.util; +package frysk.isa.corefiles; import inua.eio.ArrayByteBuffer; diff --git a/frysk-core/frysk/isa/corefiles/package.html b/frysk-core/frysk/isa/corefiles/package.html new file mode 100644 index 0000000..ab57314 --- /dev/null +++ b/frysk-core/frysk/isa/corefiles/package.html @@ -0,0 +1,7 @@ + + + +This package implements frysk's core-file generator code. + + + diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog index 9dbbf22..668add8 100644 --- a/frysk-core/frysk/util/ChangeLog +++ b/frysk-core/frysk/util/ChangeLog @@ -1,3 +1,13 @@ +2008-02-05 Andrew Cagney + + * X8664LinuxElfCorefile.java: Move to frysk.isa.corefiles. + * PPC64LinuxElfCorefile.java: Move to frysk.isa.corefiles. + * PPC32LinuxElfCorefile.java: Move to frysk.isa.corefiles. + * LinuxElfCorefileFactory.java: Move to frysk.isa.corefiles. + * LinuxElfCorefile.java: Move to frysk.isa.corefiles. + * IA32LinuxElfCorefile.java: Move to frysk.isa.corefiles. + * CoredumpAction.java: Update. + 2008-02-04 Tim Moore * ObservingTerminal.java: New file. diff --git a/frysk-core/frysk/util/CoredumpAction.java b/frysk-core/frysk/util/CoredumpAction.java index a122979..5ae0aa6 100644 --- a/frysk-core/frysk/util/CoredumpAction.java +++ b/frysk-core/frysk/util/CoredumpAction.java @@ -1,41 +1,41 @@ -//This file is part of the program FRYSK. - -//Copyright 2006, 2007, Red Hat Inc. - -//FRYSK is free software; you can redistribute it and/or modify it -//under the terms of the GNU General Public License as published by -//the Free Software Foundation; version 2 of the License. - -//FRYSK is distributed in the hope that it will be useful, but -//WITHOUT ANY WARRANTY; without even the implied warranty of -//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -//General Public License for more details. - -//You should have received a copy of the GNU General Public License -//along with FRYSK; if not, write to the Free Software Foundation, -//Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - -//In addition, as a special exception, Red Hat, Inc. gives You the -//additional right to link the code of FRYSK with code not covered -//under the GNU General Public License ("Non-GPL Code") and to -//distribute linked combinations including the two, subject to the -//limitations in this paragraph. Non-GPL Code permitted under this -//exception must only link to the code of FRYSK through those well -//defined interfaces identified in the file named EXCEPTION found in -//the source code files (the "Approved Interfaces"). The files of -//Non-GPL Code may instantiate templates or use macros or inline -//functions from the Approved Interfaces without causing the -//resulting work to be covered by the GNU General Public -//License. Only Red Hat, Inc. may make changes or additions to the -//list of Approved Interfaces. You must obey the GNU General Public -//License in all respects for all of the FRYSK code and other code -//used in conjunction with FRYSK except the Non-GPL Code covered by -//this exception. If you modify this file, you may extend this -//exception to your version of the file, but you are not obligated to -//do so. If you do not wish to provide this exception without -//modification, you must delete this exception statement from your -//version and license this file solely under the GPL without -//exception. +// This file is part of the program FRYSK. +// +// Copyright 2006, 2007, 2008, Red Hat Inc. +// +// FRYSK is free software; you can redistribute it and/or modify it +// under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// FRYSK is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with FRYSK; if not, write to the Free Software Foundation, +// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +// +// In addition, as a special exception, Red Hat, Inc. gives You the +// additional right to link the code of FRYSK with code not covered +// under the GNU General Public License ("Non-GPL Code") and to +// distribute linked combinations including the two, subject to the +// limitations in this paragraph. Non-GPL Code permitted under this +// exception must only link to the code of FRYSK through those well +// defined interfaces identified in the file named EXCEPTION found in +// the source code files (the "Approved Interfaces"). The files of +// Non-GPL Code may instantiate templates or use macros or inline +// functions from the Approved Interfaces without causing the +// resulting work to be covered by the GNU General Public +// License. Only Red Hat, Inc. may make changes or additions to the +// list of Approved Interfaces. You must obey the GNU General Public +// License in all respects for all of the FRYSK code and other code +// used in conjunction with FRYSK except the Non-GPL Code covered by +// this exception. If you modify this file, you may extend this +// exception to your version of the file, but you are not obligated to +// do so. If you do not wish to provide this exception without +// modification, you must delete this exception statement from your +// version and license this file solely under the GPL without +// exception. package frysk.util; @@ -52,6 +52,8 @@ import frysk.proc.Proc; import frysk.proc.ProcObserver; import frysk.proc.Task; import frysk.sys.Signal; +import frysk.isa.corefiles.LinuxElfCorefile; +import frysk.isa.corefiles.LinuxElfCorefileFactory; /** * CoredumpAction hooks/post-receive -- frysk system monitor/debugger