From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103113 invoked by alias); 4 Mar 2016 22:16:47 -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 103101 invoked by uid 89); 4 Mar 2016 22:16:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=U*nsajko, nsajkogmailcom, sk:nsajko, 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.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 04 Mar 2016 22:16:45 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qH3Lx4qcrz3hj77; Fri, 4 Mar 2016 23:16:41 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qH3Lx3Y8qzvh1w; Fri, 4 Mar 2016 23:16:41 +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 2xqWyEDe2L1f; Fri, 4 Mar 2016 23:16:40 +0100 (CET) X-Auth-Info: 5T5MHjnn8z2y3xkgGfSm7/p7dw2cyLOOiOQDIYD401kgsb9AW/TeSwtSB9KUjYPa Received: from igel.home (ppp-88-217-4-200.dynamic.mnet-online.de [88.217.4.200]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 4 Mar 2016 23:16:40 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 3A21D2C2D73; Fri, 4 Mar 2016 23:16:40 +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> X-Yow: Well, here I am in AMERICA.. I LIKE it. I HATE it. I LIKE it. I HATE it. I LIKE it. I HATE it. I LIKE it. I HATE it. I LIKE.. EMOTIONS are SWEEPING over me!! Date: Fri, 04 Mar 2016 22:16:00 -0000 In-Reply-To: (Neven Sajko's message of "Fri, 4 Mar 2016 22:48:05 +0100") Message-ID: <87d1r9nb1z.fsf@linux-m68k.org> 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/msg00015.txt.bz2 Neven Sajko writes: > But it seems `print *m@(int)sz' is needed because enum aren't integral types? An enum constant has type int. 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."