From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 67E2A387257A for ; Sat, 9 Apr 2022 23:16:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 67E2A387257A Received: by mail-wr1-x434.google.com with SMTP id w4so17849681wrg.12 for ; Sat, 09 Apr 2022 16:16:35 -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=lbQ4RUhhh5zyf75iA9O76WNvrZQ2YRkakx1NSonJytw=; b=uescN6aR7bO2oLHr96c27LsJCJCvvU4kcTP8PXrxZR/Y5ERRj2D1batVp1yMs9ZGwk h7ZDzkXvOqO1Uo/yWCYbR+AGQ5W2D2+GxWdrfOBahjLHxMqgc2H9G8X5wy4Re/7RA/xz sgJkkAx+DfI6Xz/uHhirGhsyfbHrCZ21adr8c1RvRcc4/UrgFVWv4uQMiFqbO+98YxPy s6GufZbPVdv8PP5xtuntWD5Jl95QsFqrsPe6XkVHG5Uky8/evmNN9l7K5JXD5bU1WXWP ++RiMxeu/5gp0c/4DkddMxoLnhzjYTtiK89cSFdaa7GKxlddpEvYOzSBTqruEdGocxzG mAUg== X-Gm-Message-State: AOAM531HQeKEDNT3RU8S7P7GaVAJFX0AfFg8dnAfceeSjwV83cqHEXPS 5WxX6VL6oDXYbg+qJ6VTrMg= X-Google-Smtp-Source: ABdhPJwkYVwSZopudMcE2qPwWgcIBX/jFi7PQgSedGtGlvhkS4oxI1/LoUADLTYV3gTGY/1+uCcFNQ== X-Received: by 2002:a5d:64a3:0:b0:207:a477:b03e with SMTP id m3-20020a5d64a3000000b00207a477b03emr278681wrp.170.1649546193992; Sat, 09 Apr 2022 16:16:33 -0700 (PDT) Received: from lancelot (host86-171-67-55.range86-171.btcentralplus.com. [86.171.67.55]) by smtp.gmail.com with ESMTPSA id u5-20020adfed45000000b00207a480e6aasm159360wro.116.2022.04.09.16.16.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 16:16:33 -0700 (PDT) Received: from gaius by lancelot with local (Exim 4.94.2) (envelope-from ) id 1ndKJk-00018U-LI; Sun, 10 Apr 2022 00:16:32 +0100 From: Gaius Mulley To: Tom Tromey Cc: Gaius Mulley via Gdb-patches Subject: Re: [PATCH] Additional modula2 tests. References: <20220217220547.3874030-1-tom@tromey.com> <20220217220547.3874030-17-tom@tromey.com> <875yoe13or.fsf_-_@debian> <87h775c6ty.fsf@tromey.com> Date: Sun, 10 Apr 2022 00:16:32 +0100 In-Reply-To: <87h775c6ty.fsf@tromey.com> (Tom Tromey's message of "Thu, 07 Apr 2022 08:21:29 -0600") Message-ID: <87v8vhsv8v.fsf@debian> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Sat, 09 Apr 2022 23:19:27 -0000 Tom Tromey writes: > Gaius> 2022-03-16 Gaius Mulley > > Gaius> Adding some modula-2 test cases and the tcl infastructure to > Gaius> support modula-2. > > Gaius> * configure.ac (GM2_FOR_BUILD): Added. (GM2_FOR_TARGET): Added. > Gaius> * gdb/testsuite/lib/gdb.exp (skip_modula2_tests): New function. > Gaius> * gdb/testsuite/lib/modula2.exp: New file. > Gaius> * gdb/testsuite/gdb.modula2/breakpointm2.mod: New file. > Gaius> * gdb/testsuite/gdb.modula2/breakpointm2.exp: New file. > Gaius> * gdb/testsuite/gdb.modula2/printformattedm2.exp: New file. > Gaius> * gdb/testsuite/gdb.modula2/printformattedm2.mod: New file. > > Top-level changes have to go via gcc-patches first. > This code is canonically maintained there. > > gdb doesn't use a ChangeLog any more, so those entries can just be > dropped. > > I didn't really look at the rest of the patch yet. Thanks for the feedback - will repost the top level on the gcc-patches mailing list. I've been working on further improvements to the Modula-2 mode within gdb which I'll post in the next day or so. Static array and unbounded array data types can be ptyped/HIGH/SIZE/TSIZE showing their dimensions. Multidimensional unbounded arrays can be accessed cleanly regards, Gaius