From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12414 invoked by alias); 8 Feb 2008 17:26:42 -0000 Received: (qmail 12389 invoked by uid 367); 8 Feb 2008 17:26:42 -0000 Date: Fri, 08 Feb 2008 17:26:00 -0000 Message-ID: <20080208172642.12372.qmail@sourceware.org> From: cagney@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Use Task.getTid(). X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: bad8ca2da62d066388ebc05d03240d02c5156b82 X-Git-Newrev: e0ae82571361afe851d6434433320bd49c0e6715 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/msg00179.txt.bz2 The branch, master has been updated via e0ae82571361afe851d6434433320bd49c0e6715 (commit) from bad8ca2da62d066388ebc05d03240d02c5156b82 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit e0ae82571361afe851d6434433320bd49c0e6715 Author: Andrew Cagney Date: Fri Feb 8 12:25:31 2008 -0500 Use Task.getTid(). frysk-core/frysk/hpd/ChangeLog 2008-02-08 Andrew Cagney * ActionPointCommands.java: Use Task.getTid(). ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/hpd/ActionPointCommands.java | 5 ++--- frysk-core/frysk/hpd/ChangeLog | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/hpd/ActionPointCommands.java b/frysk-core/frysk/hpd/ActionPointCommands.java index 32623dc..5fdaaf1 100644 --- a/frysk-core/frysk/hpd/ActionPointCommands.java +++ b/frysk-core/frysk/hpd/ActionPointCommands.java @@ -215,8 +215,7 @@ abstract class ActionPointCommands extends ParameterizedCommand { taskEntrySet.toArray(taskEntries); Arrays.sort(taskEntries); for (int i = 0; i < taskEntries.length; i++) { - int id = ((Task) taskEntries[i].getKey()).getTaskId() - .intValue(); + int id = ((Task) taskEntries[i].getKey()).getTid(); SourceBreakpoint.State state = (SourceBreakpoint.State) taskEntries[i] .getValue(); if (state == SourceBreakpoint.ENABLED) { @@ -257,7 +256,7 @@ abstract class ActionPointCommands extends ParameterizedCommand { cli.outWriter.print("\""); cli.outWriter.print(uDisp.getName()); cli.outWriter.print("\" "); - cli.outWriter.print(uDisp.getTask().getTaskId().intValue()); + cli.outWriter.print(uDisp.getTask().getTid()); cli.outWriter.println(); } cli.outWriter.println(); diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog index 9901ec4..6609e8a 100644 --- a/frysk-core/frysk/hpd/ChangeLog +++ b/frysk-core/frysk/hpd/ChangeLog @@ -1,5 +1,7 @@ 2008-02-08 Andrew Cagney + * ActionPointCommands.java: Use Task.getTid(). + * ActionPointCommands.java: Don't use Comparator; rely on the task's 'natural' order. hooks/post-receive -- frysk system monitor/debugger