From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18977 invoked by alias); 5 Mar 2009 00:15:30 -0000 Received: (qmail 18969 invoked by uid 22791); 5 Mar 2009 00:15:30 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Mar 2009 00:15:24 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n250FCKj018521; Wed, 4 Mar 2009 19:15:12 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n250FBeA032196; Wed, 4 Mar 2009 19:15:11 -0500 Received: from opsy.redhat.com (vpn-13-255.rdu.redhat.com [10.11.13.255]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n250FAQR031011; Wed, 4 Mar 2009 19:15:11 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 833603780E5; Wed, 4 Mar 2009 17:15:08 -0700 (MST) To: Mark Kettenis Cc: jan.kratochvil@redhat.com, drow@false.org, gdb-patches@sourceware.org Subject: Re: [patch] Fix `return' of long/long-long results with no debuginfo References: <20090211194511.GA9324@host0.dyn.jankratochvil.net> <200902112040.n1BKdxb3028188@brahms.sibelius.xs4all.nl> <20090211205045.GB9762@caradoc.them.org> <200902112122.n1BLMf8q000100@brahms.sibelius.xs4all.nl> <20090211214646.GA22247@host0.dyn.jankratochvil.net> <200902112157.n1BLvplk011339@brahms.sibelius.xs4all.nl> <20090211220824.GA26040@host0.dyn.jankratochvil.net> <200902112237.n1BMbbOb006035@brahms.sibelius.xs4all.nl> <20090211225012.GA28683@host0.dyn.jankratochvil.net> <200903042129.n24LTUKa000770@brahms.sibelius.xs4all.nl> From: Tom Tromey Reply-To: Tom Tromey Date: Thu, 05 Mar 2009 00:15:00 -0000 In-Reply-To: <200903042129.n24LTUKa000770@brahms.sibelius.xs4all.nl> (Mark Kettenis's message of "Wed\, 4 Mar 2009 22\:29\:30 +0100 \(CET\)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-03/txt/msg00059.txt.bz2 >>>>> "Mark" == Mark Kettenis writes: Mark> Do we have a way to figure out if such a cast is present in the Mark> expression passed as an argument to the return command? Yeah, it is not too hard. It just means having return_command call parse_expression directly, then look at the resulting expression. Tom