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: Added check to check for vdso before prepending path. Date: Tue, 01 Apr 2008 17:23:00 -0000 [thread overview] Message-ID: <20080401172333.16974.qmail@sourceware.org> (raw) The branch, master has been updated via 3bcb0f3091a543cab064e0254e7aed7a8a8e3fdc (commit) from ea8c6c869e6a411e1c7c056e37cbdc9841b85e71 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 3bcb0f3091a543cab064e0254e7aed7a8a8e3fdc Author: Sami Wagiaalla <swagiaal@redhat.com> Date: Mon Mar 31 14:57:11 2008 -0400 swagiaal: Added check to check for vdso before prepending path. frysk-core/frysk/stack/ChangeLog +2008-03-31 Sami Wagiaalla <swagiaal@redhat.com> + + * Frame.java: Added check to check for vdso before prepending path. + ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/stack/ChangeLog | 4 ++++ frysk-core/frysk/stack/Frame.java | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/stack/ChangeLog b/frysk-core/frysk/stack/ChangeLog index f429c93..929ea6a 100644 --- a/frysk-core/frysk/stack/ChangeLog +++ b/frysk-core/frysk/stack/ChangeLog @@ -1,3 +1,7 @@ +2008-03-31 Sami Wagiaalla <swagiaal@redhat.com> + + * Frame.java: Added check to check for vdso before prepending path. + 2008-03-21 Petr Machata <pmachata@redhat.com> * Frame.java: Use lib.dwfl.ElfSymbol instead of diff --git a/frysk-core/frysk/stack/Frame.java b/frysk-core/frysk/stack/Frame.java index 9c16552..cd1c293 100644 --- a/frysk-core/frysk/stack/Frame.java +++ b/frysk-core/frysk/stack/Frame.java @@ -170,18 +170,26 @@ public abstract class Frame { writer.write(symbol.getDemangledName()); if (symbol != SymbolFactory.UNKNOWN) writer.write(" ()"); + if(printSource){ // the library if known ... File library = new File(getLibraryName()); if (library != null) { writer.print(" from "); - if (fullpath) { - writer.print(library.getAbsolutePath()); + + if(library.getPath().contains("vdso") || library.getPath().contains("stack")){ + writer.print(library.getName()); }else{ - writer.print(".../"+library.getName()); + + if(fullpath){ + writer.print(library.getPath()); + }else{ + writer.print(".../"+library.getName()); + } + } } - } + } } public String getLibraryName() { hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-04-01 17:23 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=20080401172333.16974.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).