From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6409 invoked by alias); 14 May 2007 16:22:28 -0000 Received: (qmail 6400 invoked by uid 22791); 14 May 2007 16:22:27 -0000 X-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_40,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 May 2007 16:22:26 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l4EGMNcp022381 for ; Mon, 14 May 2007 12:22:23 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l4EGMMBH027764 for ; Mon, 14 May 2007 12:22:23 -0400 Received: from [10.11.14.15] (vpn-14-15.rdu.redhat.com [10.11.14.15]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l4EGMMaa002445 for ; Mon, 14 May 2007 12:22:22 -0400 Message-ID: <46488CBD.3010508@redhat.com> Date: Mon, 14 May 2007 16:47:00 -0000 From: Adam Jocksch User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: frysk Subject: Some trouble writing a testcase Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00150.txt.bz2 Ok, I'm trying to write a simple testcase for the newly created Display class and I'm uncovering some of the rust that's built up over that last few months :P. Essentially the test I want to create consists of having a program: int x; x = 1; * x = 2; ** Then creating breakpoints at the two lines marked by * and ** and then printing out the variable values (via Display) at those two points. Right now I'm using AttachedDaemonProcess to create a proc that's attached and blocked at the first address of the program. However I'm having some difficulties find the right sequence of calls to add the breakpoints. Currently I'm trying LineBreakoint.addLineBreakpoint() and then adding my own delegate observer to pick up on the calls. Is this correct, or is there something else I should be doing?