From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by sourceware.org (Postfix) with ESMTPS id 7E5293858D28 for ; Mon, 18 Jul 2022 15:56:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7E5293858D28 Received: by mail-il1-x136.google.com with SMTP id d4so6216591ilc.8 for ; Mon, 18 Jul 2022 08:56:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hDtc9FgPTZACcVAu3W79c4ZIsGzGhOuC611+1EYOvBo=; b=qBaXOp1bdlyCo6mgOSbXvq7GuPMneEFrOw6Upe7udi/NTsgl+wGGeQWBGXCrNCqiT3 /LUD+DvEsqE/J5n8xvTsybeVeFpCDauNqe9atR30c2y9sl3In+DPVB0qW9ICDsEU5P5p junMv+UD+ulIDWYXjP138Yx+p7VDQu7R74GxpFcWH6NvxRxL04vH4Ffa9i1pOOKxsao8 ljlvdwfsnCas1wof4bljGu7+YDnzx5H3So2CQ7BbEZtL8RPgltJ5mGZuT2f7++VEQHrm cdEJs8ugxdu2CuK/HBV0kjiP7HUbCC/Ft+5tZCmveOGGJ8zi9a55VRkazbxmkSiwqjaU 0V6w== X-Gm-Message-State: AJIora+fJh22TJ4mqXHk4XswH+X5GGxoOjWFXAqWCtccGfAXlK2xYOmt B0IN5gTfR/FFqdZe5OP/WEgQJ92D2xPdvw== X-Google-Smtp-Source: AGRyM1sg7PK6Vb/Lbs9iLa8fHGlKCPmjdiWJnp2jNzlKL5ftsirN0iLPBpcbaIAC87gHS1Dai6AZ/A== X-Received: by 2002:a05:6e02:1bcb:b0:2dc:ec0e:9e7 with SMTP id x11-20020a056e021bcb00b002dcec0e09e7mr2707505ilv.213.1658159817710; Mon, 18 Jul 2022 08:56:57 -0700 (PDT) Received: from murgatroyd (71-211-185-228.hlrn.qwest.net. [71.211.185.228]) by smtp.gmail.com with ESMTPSA id c42-20020a02962d000000b0033f29233b9csm5446378jai.74.2022.07.18.08.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 08:56:57 -0700 (PDT) From: Tom Tromey To: Tom Tromey via Gdb-patches Cc: Tom Tromey Subject: Re: [PATCH] Remove array typedef assumption for Ada References: <20220705164120.3356777-1-tromey@adacore.com> X-Attribution: Tom Date: Mon, 18 Jul 2022 09:56:56 -0600 In-Reply-To: <20220705164120.3356777-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Tue, 5 Jul 2022 10:41:20 -0600") Message-ID: <87zgh6l8hj.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2022 15:57:00 -0000 >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> Currently the Ada code assumes that it can distinguish between a Tom> multi-dimensional array and an array of arrays by looking for an Tom> intervening typedef -- that is, for an array of arrays, there will be Tom> a typedef wrapping the innermost array type. Tom> A planned compiler change will remove this typedef, which causes a gdb Tom> failure in the internal AdaCore test suite. This patch went in to upstream GCC, so I am going to update this text and push the patch. Tom