public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: cagney@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Delete Config.getAbsRootSrcDir(). Date: Wed, 16 Apr 2008 17:57:00 -0000 [thread overview] Message-ID: <20080416175717.948.qmail@sourceware.org> (raw) The branch, master has been updated via 1e7034c7369e8eba1a69d61ffc3ea32afc23550c (commit) from 09aea1d0cc8533a671774fba910304ee4001b767 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 1e7034c7369e8eba1a69d61ffc3ea32afc23550c Author: Andrew Cagney <cagney@toil.yyz.redhat.com> Date: Wed Apr 16 13:55:38 2008 -0400 Delete Config.getAbsRootSrcDir(). frysk-core/frysk/bindir/ChangeLog 2008-04-16 Andrew Cagney <cagney@redhat.com> * TestFstack.java (getCanonicalRootSrcDir()): Replace getCanonicalAbsRootSrcDir. frysk-core/frysk/hpd/ChangeLog 2008-04-16 Andrew Cagney <cagney@redhat.com> * TestFhpdStepping.java: Use Config.getPkgLibSrcDir(). frysk-sys/frysk/config/ChangeLog 2008-04-16 Andrew Cagney <cagney@redhat.com> * Config.java (getAbsRootSrcDir()): Delete. * cni/Config.cxx-in: Update. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/bindir/ChangeLog | 5 +++++ frysk-core/frysk/bindir/TestFstack.java | 8 ++++---- frysk-core/frysk/hpd/ChangeLog | 4 ++++ frysk-core/frysk/hpd/TestFhpdStepping.java | 2 +- frysk-sys/frysk/config/ChangeLog | 3 +++ frysk-sys/frysk/config/Config.java | 10 ---------- frysk-sys/frysk/config/cni/Config.cxx-in | 6 ------ 7 files changed, 17 insertions(+), 21 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/bindir/ChangeLog b/frysk-core/frysk/bindir/ChangeLog index 984c1e8..f0001b5 100644 --- a/frysk-core/frysk/bindir/ChangeLog +++ b/frysk-core/frysk/bindir/ChangeLog @@ -1,3 +1,8 @@ +2008-04-16 Andrew Cagney <cagney@redhat.com> + + * TestFstack.java (getCanonicalRootSrcDir()): Replace + getCanonicalAbsRootSrcDir. + 2008-04-10 Mark Wielaard <mwielaard@redhat.com> * ferror.java (options): Use correct Options constructor. diff --git a/frysk-core/frysk/bindir/TestFstack.java b/frysk-core/frysk/bindir/TestFstack.java index 398a065..ba02684 100644 --- a/frysk-core/frysk/bindir/TestFstack.java +++ b/frysk-core/frysk/bindir/TestFstack.java @@ -72,11 +72,11 @@ public class TestFstack extends TestLib { return new TearDownExpect(argv); } - private String getCanonicalAbsRootSrcDir () { + private String getCanonicalRootSrcDir () { try { - return new File(Config.getAbsRootSrcDir()).getCanonicalPath(); + return new File(Config.getRootSrcDir()).getCanonicalPath(); } catch (IOException e) { - return Config.getAbsRootSrcDir(); + return Config.getRootSrcDir(); } } @@ -98,7 +98,7 @@ public class TestFstack extends TestLib { TearDownExpect e = fstack("funit-stack-outlined", new String[] { "-rich", "-print", "full-path" }); - e.expect (getCanonicalAbsRootSrcDir() + e.expect (getCanonicalRootSrcDir() + ".*" + "funit-stack-outlined" + ".c#"); diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog index aaa86d9..b2e9439 100644 --- a/frysk-core/frysk/hpd/ChangeLog +++ b/frysk-core/frysk/hpd/ChangeLog @@ -1,3 +1,7 @@ +2008-04-16 Andrew Cagney <cagney@redhat.com> + + * TestFhpdStepping.java: Use Config.getPkgLibSrcDir(). + 2008-04-15 Teresa Thomas <tthomas@redhat.com> * WatchCommand.java: New. diff --git a/frysk-core/frysk/hpd/TestFhpdStepping.java b/frysk-core/frysk/hpd/TestFhpdStepping.java index 063116b..d72da08 100644 --- a/frysk-core/frysk/hpd/TestFhpdStepping.java +++ b/frysk-core/frysk/hpd/TestFhpdStepping.java @@ -55,7 +55,7 @@ public class TestFhpdStepping extends TestLib { e = new HpdTestbed(); - String source = Config.getAbsRootSrcDir() + "frysk-core/frysk/pkglibdir/funit-stepping-asm.S"; + String source = Config.getPkgLibSrcDir() + "funit-stepping-asm.S"; this.scanner = new TestfileTokenScanner(new File(source)); int startLine = this.scanner.findTokenLine("_instructionStep_"); diff --git a/frysk-sys/frysk/config/ChangeLog b/frysk-sys/frysk/config/ChangeLog index 60d246e..6d64da8 100644 --- a/frysk-sys/frysk/config/ChangeLog +++ b/frysk-sys/frysk/config/ChangeLog @@ -1,5 +1,8 @@ 2008-04-16 Andrew Cagney <cagney@redhat.com> + * Config.java (getAbsRootSrcDir()): Delete. + * cni/Config.cxx-in: Update. + * jni/Config.cxx: Delete. 2008-04-15 Andrew Cagney <cagney@redhat.com> diff --git a/frysk-sys/frysk/config/Config.java b/frysk-sys/frysk/config/Config.java index ab1cf44..a8d75a7 100644 --- a/frysk-sys/frysk/config/Config.java +++ b/frysk-sys/frysk/config/Config.java @@ -153,14 +153,4 @@ public class Config { public static final String getPkgLibSrcDir (){ return getRootSrcDir() + "frysk-core/frysk/pkglibdir/"; } - - /** - * The absolute source root directory against which the build was - * created; this is an install time option since, with debug-info - * installed, these source files exist. - * - * Note that this is the root directory, and excludes any suffix - * such as frysk-imports et.al. - */ - public static final native String getAbsRootSrcDir (); } diff --git a/frysk-sys/frysk/config/cni/Config.cxx-in b/frysk-sys/frysk/config/cni/Config.cxx-in index c3d8787..810a350 100644 --- a/frysk-sys/frysk/config/cni/Config.cxx-in +++ b/frysk-sys/frysk/config/cni/Config.cxx-in @@ -55,9 +55,3 @@ frysk::config::Config::getRootSrcDir () { return JvNewStringUTF ("@root_srcdir@"); } - -jstring -frysk::config::Config::getAbsRootSrcDir () -{ - return JvNewStringUTF ("@abs_root_srcdir@"); -} hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-04-16 17:57 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=20080416175717.948.qmail@sourceware.org \ --to=cagney@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).