From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56565 invoked by alias); 5 Mar 2016 08:23:56 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 56555 invoked by uid 89); 5 Mar 2016 08:23:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*r:501, nsajkogmailcom, nsajko@gmail.com X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sat, 05 Mar 2016 08:23:53 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qHJqV1WDlz3hjjZ; Sat, 5 Mar 2016 09:23:50 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qHJqV0YNxzvh2g; Sat, 5 Mar 2016 09:23:50 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id vZv8asH-m73B; Sat, 5 Mar 2016 09:23:49 +0100 (CET) X-Auth-Info: ftr38Kdc8E0C/1N0Y9TEpcPo1dXaR2JuDitlovA7eBUcT8ckSupYRjNGdKFD6V8Q Received: from linux.local (ppp-88-217-5-227.dynamic.mnet-online.de [88.217.5.227]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 5 Mar 2016 09:23:49 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id A61E71E53A8; Sat, 5 Mar 2016 09:23:48 +0100 (CET) From: Andreas Schwab To: Neven Sajko Cc: Jan Kratochvil , gdb@sourceware.org Subject: Re: Printing a 2D array in a C program References: <20160304144231.GA7767@host1.jankratochvil.net> <87k2lim6rg.fsf@linux-m68k.org> <87d1r9nb1z.fsf@linux-m68k.org> X-Yow: .. I wonder if I ought to tell them about my PREVIOUS LIFE as a COMPLETE STRANGER? Date: Sat, 05 Mar 2016 08:23:00 -0000 In-Reply-To: (Neven Sajko's message of "Sat, 5 Mar 2016 01:59:05 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2016-03/txt/msg00017.txt.bz2 Neven Sajko writes: > I know but if I try to do it without the cast, GDB complains > that the right operand to the artificial array operator is not > an integral type. That looks like a bug. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."