public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: swagiaal@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: swagiaal: Changed ObjectDeclaration from abstract class to interface. Date: Thu, 10 Apr 2008 17:16:00 -0000 [thread overview] Message-ID: <20080410171647.4692.qmail@sourceware.org> (raw) The branch, master has been updated via 6c1e5b547ed853726943c21251b13336d5c48016 (commit) from 935aa9bdc30ce8d177ee9439931bf941e30b6d1a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 6c1e5b547ed853726943c21251b13336d5c48016 Author: Sami Wagiaalla <swagiaal@redhat.com> Date: Thu Apr 10 12:45:57 2008 -0400 swagiaal: Changed ObjectDeclaration from abstract class to interface. frysk-core/frysk/scopes/ChangeLog +2008-04-10 Sami Wagiaalla <swagiaal@redhat.com> + + Changed ObjectDeclaration from abstract class to interface + * Variable.java: Updated. + frysk-core/frysk/symtab/ChangeLog +2008-04-10 Sami Wagiaalla <swagiaal@redhat.com> + + Changed ObjectDeclaration from abstract class to interface + * SymbolObjectDeclaration.java: Updated. + frysk-core/frysk/value/ChangeLog +2008-04-10 Sami Wagiaalla <swagiaal@redhat.com> + + * ObjectDeclaration.java: Changed from abstract class to interface + * Constant.java: Updated. + * CompositeType.java: Updated. + ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/scopes/ChangeLog | 5 +++++ frysk-core/frysk/scopes/Variable.java | 2 +- frysk-core/frysk/symtab/ChangeLog | 5 +++++ .../frysk/symtab/SymbolObjectDeclaration.java | 2 +- frysk-core/frysk/value/ChangeLog | 6 ++++++ frysk-core/frysk/value/CompositeType.java | 2 +- frysk-core/frysk/value/Constant.java | 2 +- frysk-core/frysk/value/ObjectDeclaration.java | 11 ++++++----- 8 files changed, 26 insertions(+), 9 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/scopes/ChangeLog b/frysk-core/frysk/scopes/ChangeLog index 1e52e78..f2c43ab 100644 --- a/frysk-core/frysk/scopes/ChangeLog +++ b/frysk-core/frysk/scopes/ChangeLog @@ -1,3 +1,8 @@ +2008-04-10 Sami Wagiaalla <swagiaal@redhat.com> + + Changed ObjectDeclaration from abstract class to interface + * Variable.java: Updated. + 2008-04-09 Sami Wagiaalla <swagiaal@redhat.com> Renamed ObjectDeclarationSearchEngine.getVariable to diff --git a/frysk-core/frysk/scopes/Variable.java b/frysk-core/frysk/scopes/Variable.java index 2593645..1fdfb4a 100644 --- a/frysk-core/frysk/scopes/Variable.java +++ b/frysk-core/frysk/scopes/Variable.java @@ -63,7 +63,7 @@ import frysk.value.Format; * corresponding to this Variable */ -public class Variable extends ObjectDeclaration { +public class Variable implements ObjectDeclaration { private static Log fine = LogFactory.fine(Variable.class); private static Log finest = LogFactory.finest(Variable.class); diff --git a/frysk-core/frysk/symtab/ChangeLog b/frysk-core/frysk/symtab/ChangeLog index 1d78580..93c64fb 100644 --- a/frysk-core/frysk/symtab/ChangeLog +++ b/frysk-core/frysk/symtab/ChangeLog @@ -1,3 +1,8 @@ +2008-04-10 Sami Wagiaalla <swagiaal@redhat.com> + + Changed ObjectDeclaration from abstract class to interface + * SymbolObjectDeclaration.java: Updated. + 2008-04-07 Sami Wagiaalla <swagiaal@redhat.com> * SymbolObjectDeclaration.java: New class. diff --git a/frysk-core/frysk/symtab/SymbolObjectDeclaration.java b/frysk-core/frysk/symtab/SymbolObjectDeclaration.java index b85ba48..3ad1f7c 100644 --- a/frysk-core/frysk/symtab/SymbolObjectDeclaration.java +++ b/frysk-core/frysk/symtab/SymbolObjectDeclaration.java @@ -58,7 +58,7 @@ import frysk.value.VoidType; /** * XXX: This will be folded into symtab.symbol */ -public class SymbolObjectDeclaration extends ObjectDeclaration { +public class SymbolObjectDeclaration implements ObjectDeclaration { private String name; private long address; diff --git a/frysk-core/frysk/value/ChangeLog b/frysk-core/frysk/value/ChangeLog index cf38318..2e650fb 100644 --- a/frysk-core/frysk/value/ChangeLog +++ b/frysk-core/frysk/value/ChangeLog @@ -1,3 +1,9 @@ +2008-04-10 Sami Wagiaalla <swagiaal@redhat.com> + + * ObjectDeclaration.java: Changed from abstract class to interface + * Constant.java: Updated. + * CompositeType.java: Updated. + 2008-04-01 Andrew Cagney <cagney@redhat.com> * TestInterface.java: Move to frysk.debuginfo.TestGccInterface. diff --git a/frysk-core/frysk/value/CompositeType.java b/frysk-core/frysk/value/CompositeType.java index 528edae..269da18 100644 --- a/frysk-core/frysk/value/CompositeType.java +++ b/frysk-core/frysk/value/CompositeType.java @@ -61,7 +61,7 @@ public abstract class CompositeType extends Type { - public static abstract class Member extends ObjectDeclaration { + public static abstract class Member implements ObjectDeclaration { private final SourceLocation sourceLocation; final int index; diff --git a/frysk-core/frysk/value/Constant.java b/frysk-core/frysk/value/Constant.java index 091834f..0a1a823 100644 --- a/frysk-core/frysk/value/Constant.java +++ b/frysk-core/frysk/value/Constant.java @@ -43,6 +43,6 @@ package frysk.value; * Class representing constants * */ -public abstract class Constant extends ObjectDeclaration{ +public abstract class Constant implements ObjectDeclaration{ } diff --git a/frysk-core/frysk/value/ObjectDeclaration.java b/frysk-core/frysk/value/ObjectDeclaration.java index e41c779..7906f8d 100644 --- a/frysk-core/frysk/value/ObjectDeclaration.java +++ b/frysk-core/frysk/value/ObjectDeclaration.java @@ -43,12 +43,13 @@ import frysk.debuginfo.DebugInfoFrame; import frysk.isa.ISA; import frysk.scopes.SourceLocation; -public abstract class ObjectDeclaration { +public interface ObjectDeclaration { - public abstract String getName(); - public abstract Value getValue(DebugInfoFrame frame); - public abstract Type getType(ISA isa); + String getName(); + Value getValue(DebugInfoFrame frame); + Type getType(ISA isa); - public abstract SourceLocation getSourceLocation(); + //if source is not available return SourceLocation.UNKNOWN + SourceLocation getSourceLocation(); } hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-04-10 17:16 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080410171647.4692.qmail@sourceware.org \ --to=swagiaal@sourceware.org \ --cc=frysk-cvs@sourceware.org \ --cc=frysk@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).