From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32528 invoked by alias); 19 Mar 2008 16:00:51 -0000 Received: (qmail 32512 invoked by uid 22791); 19 Mar 2008 16:00:48 -0000 X-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43,J_CHICKENPOX_44,J_CHICKENPOX_54,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; Wed, 19 Mar 2008 16:00:31 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m2JG0Ttk022988 for ; Wed, 19 Mar 2008 12:00:29 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m2JG0SHd003151 for ; Wed, 19 Mar 2008 12:00:28 -0400 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m2JG0NsI002876 for ; Wed, 19 Mar 2008 12:00:26 -0400 Message-ID: <47E13887.3050905@redhat.com> Date: Wed, 19 Mar 2008 16:00:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: frysk Subject: Re: meeting 2008-03-19 - version numbers References: <47E12D0D.1020309@redhat.com> In-Reply-To: <47E12D0D.1020309@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 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: 2008-q1/txt/msg00172.txt.bz2 Tromey, on irc, was asking what in the below is new: Andrew Cagney wrote: > Here's a transcript from using the hpd today (please note kernel > "issues" mean it may not work on your system): > > $ ./frysk/bindir/fhpd ./frysk/pkglibdir/funit-hello > [0.0] Loaded executable file: > /home/scratch/frysk/git/native/frysk-core/./frysk/pkglibdir/funit-hello > (fhpd) run > Attached to process 7518 > starting/running with this command: ./frysk/pkglibdir/funit-hello > Running process 7518 > (fhpd) Task 7518 is terminating from signal SIGSEGV(11) It's here. Previously the behavior was: (fhpd) Task 9989 is terminating from signal SIGSEGV(11) focus Target set pid id path-to-executable (fhpd) notice how the thread isn't a member of the focus group as it wasn't being stopped during termination; it now is. Being able to wait until a process really is terminating makes things easier; you don't have to second guess which of many potential signals will be lethal. Instead just wait for the lethal signal to come along. > list > [0.0] > 34 // exception to your version of the file, but you are not > obligated to > 35 // do so. If you do not wish to provide this exception without > 36 // modification, you must delete this exception statement from > your > 37 // version and license this file solely under the GPL without > 38 // exception. > 39 40 #include > 41 42 void > 43 print(char *what) { > -> 44 while (*what != '\0') { > 45 write(1, what, 1); > 46 what++; > 47 } > 48 } > 49 50 int > 51 main(int argc, char** argv) { > 52 // XXX: This forgets to check ARGC. > 53 print(argv[1]); > (fhpd) where > #0 0x080483da in print(char * what) > /home/scratch/frysk/git/frysk/frysk-core/frysk/pkglibdir/funit-hello.c#44 > #1 0x08048435 in main(int argc,char ** argv) > /home/scratch/frysk/git/frysk/frysk-core/frysk/pkglibdir/funit-hello.c#53 > #2 0x00808390 in __libc_start_main () from /lib/libc-2.7.so > #3 0x08048311 in _start () from > /home/scratch/frysk/git/native/frysk-core/frysk/pkglibdir/funit-hello > (fhpd) print what > (char *) 0x0 " < Memory Error > " > (fhpd) > > which is the most straight forward of debugging sessions; and a major > milestone. In the meeting, this brought forward two proposals: