From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24726 invoked by alias); 14 Jan 2015 05:01:52 -0000 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 Received: (qmail 24666 invoked by uid 89); 14 Jan 2015 05:01:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 14 Jan 2015 05:00:57 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id D6CB9116527; Wed, 14 Jan 2015 00:00:55 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BuKRFbzSiwVG; Wed, 14 Jan 2015 00:00:55 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 64EC4116524; Wed, 14 Jan 2015 00:00:55 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 315ED48E8B; Wed, 14 Jan 2015 09:00:51 +0400 (RET) Date: Wed, 14 Jan 2015 05:01:00 -0000 From: Joel Brobecker To: Doug Evans Cc: gdb-patches Subject: Re: FYI: [python/Ada] gdb.lookup_type fails to looking primitive type Message-ID: <20150114050051.GH8167@adacore.com> References: <1421083588-927-1-git-send-email-brobecker@adacore.com> <20150113094426.GE8167@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-01/txt/msg00362.txt.bz2 > > gdb/testsuite/ChangeLog: > > > > * gdb.python/py-lookup-type.exp: New file. > > Not that I'm expecting anyone to go back and change things, > but maybe for future reference it'd be better to print the result > and record the expected output, instead of expecting no output. > Performing a lookup action, and then expecting no output, > is just too confusing to me. The only issue I have with that is that I'd like to do something whose behavior is defined. Looking at the GDB manual, I can't see anything said about what to expect when converting a gdb.Type to a string... If we clarify that, I have no problem adding the extra "print" in the test. -- Joel