From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6655 invoked by alias); 10 Jan 2008 11:09:03 -0000 Received: (qmail 6618 invoked by uid 9514); 10 Jan 2008 11:09:03 -0000 Date: Thu, 10 Jan 2008 11:09:00 -0000 Message-ID: <20080110110903.6603.qmail@sourceware.org> From: pmuldoon@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Tweak order of auxv requests to prevent unblocking. X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 2b5ad2bf5b5e346941b5b01b4559839b1432bd29 X-Git-Newrev: d2b5dbb3c399f4c8d2e6c6a01f20e2b3b4193d69 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/msg00036.txt.bz2 The branch, master has been updated via d2b5dbb3c399f4c8d2e6c6a01f20e2b3b4193d69 (commit) from 2b5ad2bf5b5e346941b5b01b4559839b1432bd29 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit d2b5dbb3c399f4c8d2e6c6a01f20e2b3b4193d69 Author: Phil Muldoon Date: Thu Jan 10 11:08:53 2008 +0000 Tweak order of auxv requests to prevent unblocking. 2008-01-10 Phil Muldoon * TestAuxvCommand.java (testAuxVCoreCommand): Adjust order or live and core auxv requests. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/hpd/ChangeLog | 5 +++++ frysk-core/frysk/hpd/TestAuxvCommand.java | 23 ++++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog index 7379999..cf7c767 100644 --- a/frysk-core/frysk/hpd/ChangeLog +++ b/frysk-core/frysk/hpd/ChangeLog @@ -1,3 +1,8 @@ +2008-01-10 Phil Muldoon + + * TestAuxvCommand.java (testAuxVCoreCommand): Adjust order + or live and core auxv requests. + 2008-01-09 Phil Muldoon * TestAuxvCommand.java (testAuxVCoreCommand): Pass in proc to diff --git a/frysk-core/frysk/hpd/TestAuxvCommand.java b/frysk-core/frysk/hpd/TestAuxvCommand.java index f0863e5..a42d675 100644 --- a/frysk-core/frysk/hpd/TestAuxvCommand.java +++ b/frysk-core/frysk/hpd/TestAuxvCommand.java @@ -55,20 +55,21 @@ public class TestAuxvCommand extends TestLib { Proc proc = (new DaemonBlockedAtSignal("funit-stacks")).getMainTask().getProc(); Auxv[] liveAuxv = proc.getAuxv(); - - TestLinuxCore tester = new TestLinuxCore(); - File core = new File(tester.constructCore(proc)); - core.deleteOnExit(); + class BuildAuxv extends AuxvStringBuilder { - - public ArrayList auxvData = new ArrayList(); - public void buildLine(String type, String desc, String value) { - auxvData.add(type+" : " + value+"\n"); - } - } - + + public ArrayList auxvData = new ArrayList(); + public void buildLine(String type, String desc, String value) { + auxvData.add(type+" : " + value+"\n"); + } + } + BuildAuxv buildAuxv = new BuildAuxv(); buildAuxv.construct(liveAuxv, proc); + + TestLinuxCore tester = new TestLinuxCore(); + File core = new File(tester.constructCore(proc)); + core.deleteOnExit(); e = new HpdTestbed(); hooks/post-receive -- frysk system monitor/debugger