From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9863 invoked by alias); 4 Mar 2011 19:13:15 -0000 Received: (qmail 9855 invoked by uid 22791); 4 Mar 2011 19:13:14 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 19:13:09 +0000 Received: (qmail 19938 invoked from network); 4 Mar 2011 19:13:06 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Mar 2011 19:13:06 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: RFC: change "program exited" message Date: Fri, 04 Mar 2011 19:13:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-27-generic; KDE/4.6.0; x86_64; ; ) Cc: Tom Tromey References: <201103032120.49764.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103041913.09385.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00313.txt.bz2 On Friday 04 March 2011 17:24:15, Tom Tromey wrote: > Pedro> I suggest, modelled on how we print threads: > Pedro> "[Inferior " + inferior->num + "(" target_pid_to_string (pid_to_ptid (inf->pid)) + ")" + $whathappened + "]" > > Looks good to me. > > Here's the patch. This time I introduced a new variable in the test > suite, so that further changes to the format are less difficult to > implement. Thanks! (Do we actually need gdb_continue_off_end? It seemed like in all but a couple of cases it was the same as gdb_continue_to_end, except that the new function doesn't handle using stubs.) -- Pedro Alves