From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id 7FAB03858401 for ; Mon, 23 Jan 2023 23:01:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7FAB03858401 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-lf1-x132.google.com with SMTP id br9so20570802lfb.4 for ; Mon, 23 Jan 2023 15:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=mime-version:user-agent:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=2x07z7AaKZep2P/uWW4+Ytrc3AIjiI/j3m2NtX36pIo=; b=JEFecd9fH3O8W7ENu2z02fVR7iiEWCE+p7A1tNTwalOaTtARz9l6Hly8C6ARJcnO3j sCEa0qWXipyXJ6lNuhnWl1Pxge6F22jm580/jc0fOvdNbzOj6lXyr4f9etmadzT94Aih nKghfbYZdiS0wKAZzFvrqZCXGPR0GNhn6MVY9wr6SQkOtxzjlu58ltPKtHKJStXDSUNL fXStaB3lEgqpE9RHZ02tGKPqf51bhLvyYApfrxyMyDErRP+I6BKxcliiMS7Se+m7pKsj OQ9Cvm6pEDB9cnWIjpiuGInetKewi1MiQKgldukXIgZUgwlfBQ347/kYlG1+U0BVKjIA QrNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2x07z7AaKZep2P/uWW4+Ytrc3AIjiI/j3m2NtX36pIo=; b=tjqfELl8KZFmanxASlLR5mEfdYhcruhPxM3LBFsbglyrUf+Y6hb2XZS7HjVFRmJbxp lN4sgFqp6q/DobhTlUM58t3YEUxEdRGzUe9XWYdK9CqoVJjH9ujV+7n1/jltpuzLMQ1w wMThamn2ukoR6JLgUOIdt8Zg2QLPPg01OVAo9YhEo3fkZrAaF6WSbhaffKlR312YJVEe 2AtS5kJ8jfpbh36dsty2KAj/cEH3lwYZIeFlvZ6bJPc2NwcwNnHQp9PLEbLE1VPyw2Lj knfkvdJrrcLYu0hmTdRg2jD76EUGSHGSqKCxX95/x6vRKSKvTrb7r4KN7Fbh0BgCqNSX nVNg== X-Gm-Message-State: AFqh2kqpXe6l1vgXAZf6pUx8Y5J96PPQKWeq6SCp67EeEL/tT8MA5bsB qaUk9g1FtI0sS3FKronQCC6E+qZdED89WPro X-Google-Smtp-Source: AMrXdXuFZKGdtAiD64pbMyjBw+7X1oraYH531GhT1FFtd7+7brr495Hmh7GyhBWZan0Xm7v9PWm54Q== X-Received: by 2002:ac2:4e13:0:b0:4b6:e4c8:8a48 with SMTP id e19-20020ac24e13000000b004b6e4c88a48mr7952844lfr.63.1674514892976; Mon, 23 Jan 2023 15:01:32 -0800 (PST) Received: from [192.168.219.3] ([78.8.192.131]) by smtp.gmail.com with ESMTPSA id c27-20020a05651200db00b004cb1e2f8f4dsm16197lfp.152.2023.01.23.15.00.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jan 2023 15:01:11 -0800 (PST) Date: Mon, 23 Jan 2023 23:00:10 +0000 (GMT) From: "Maciej W. Rozycki" To: gdb-patches@sourceware.org cc: Andrew Burgess , Tom Tromey , Richard Bunt Subject: [PATCH v3 0/5] gdb: introduce limited array lengths while printing values Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.5 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 List-Id: Hi, This is v3 of the patch series, addressing the suggestion made by Andrew for v2 as to the use of `value_copy' and then updating the copyright year across a couple of newly-added files which I missed with v2 and making Ada and Fortran test cases match changes made since to our trunk. I have also noticed and simplified redundant code in `value_copy', where the case of the source and destination lengths being different from each other was explicitly handled, while the lengths are always equal (one set from the other right beforehand). See individual change descriptions for details. I have regression-tested it natively with a `x86_64-linux-gnu' system. OK to apply? Maciej