public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: rmoseley@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Fix ViewsetCommand error for load/unload command. Date: Thu, 28 Feb 2008 05:33:00 -0000 [thread overview] Message-ID: <20080228053310.8288.qmail@sourceware.org> (raw) The branch, master has been updated via e5a45290eaa2d95ae971591d15f2cb79a10b6cc7 (commit) from 079a3dcbfa8d03af12f3c218a198318e48d9a2e2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit e5a45290eaa2d95ae971591d15f2cb79a10b6cc7 Author: Rick Moseley <rmoseley@localhost.localdomain> Date: Wed Feb 27 23:31:20 2008 -0600 Fix ViewsetCommand error for load/unload command. * ViewsetCommand.java: Fix error when duplicate executables are loaded/unloaded(bz 5799). ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/hpd/ChangeLog | 6 ++++++ frysk-core/frysk/hpd/ViewsetCommand.java | 5 ++++- 2 files changed, 10 insertions(+), 1 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog index c876cd2..28d1f25 100644 --- a/frysk-core/frysk/hpd/ChangeLog +++ b/frysk-core/frysk/hpd/ChangeLog @@ -1,3 +1,9 @@ +2008-02-27 Rick Moseley <rmoseley@redhat.com> + + * ViewsetCommand.java: Fix error when duplicate executables are + loaded/unloaded(bz 5799). + + 2008-02-27 Sami Wagiaalla <swagiaal@redhat.com> * StackCommands.java: Use PrintStackOptions instead of boolean list. diff --git a/frysk-core/frysk/hpd/ViewsetCommand.java b/frysk-core/frysk/hpd/ViewsetCommand.java index 25be163..a72d9fb 100644 --- a/frysk-core/frysk/hpd/ViewsetCommand.java +++ b/frysk-core/frysk/hpd/ViewsetCommand.java @@ -88,6 +88,9 @@ class ViewsetCommand extends ParameterizedCommand { * * @param tempset is the target set to use in printing * @param cli is the current command line interface object + * @param displayedName is the String used for the title of the set + * @param loadedOnly is true if the display is to show procs that exist in the + * cli.loadeProcs table only, false if not */ static void printLoop(PTSet tempset, CLI cli, String displayedName, boolean loadedOnly) { @@ -97,7 +100,7 @@ class ViewsetCommand extends ParameterizedCommand { cli.outWriter.println("\tpid\tid\tpath-to-executable"); for (Iterator iter = tempset.getTaskData(); iter.hasNext();) { temptd = (TaskData) iter.next(); - if (loadedOnly && cli.loadedProcs.containsKey(temptd.getTask().getProc()) + if (loadedOnly && cli.loadedProcs.containsValue(new Integer(temptd.getID())) || !loadedOnly) { cli.outWriter.print("["); cli.outWriter.print(temptd.getParentID()); hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-02-28 5:33 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=20080228053310.8288.qmail@sourceware.org \ --to=rmoseley@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).