From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3010 invoked by alias); 24 Jan 2011 21:08:03 -0000 Received: (qmail 2991 invoked by uid 22791); 24 Jan 2011 21:08:02 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Jan 2011 21:07:58 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7C8732BAC28; Mon, 24 Jan 2011 16:07:56 -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 cRzXN5OKkI63; Mon, 24 Jan 2011 16:07:56 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 6B54D2BAC27; Mon, 24 Jan 2011 16:07:56 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 4078C1459AD; Mon, 24 Jan 2011 16:07:56 -0500 (EST) Date: Mon, 24 Jan 2011 21:28:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [Ada] Make sure we pass the correct struct value to val_print & co. Message-ID: <20110124210756.GC2413@adacore.com> References: <201101242020.37882.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101242020.37882.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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-01/txt/msg00472.txt.bz2 > No regressions on gdb.ada/, FWIW. Okay to apply? Sure. Thanks for doing that. > 2011-01-24 Pedro Alves > > * ada-valprint.c (val_print_packed_array_elements): Pass the > correct struct value to val_print. > (ada_val_print_1): Ditto. Tested on x86_64-linux. -- Joel