From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 020393852C47 for ; Thu, 24 Nov 2022 11:21:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 020393852C47 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-wr1-x436.google.com with SMTP id d1so1978311wrs.12 for ; Thu, 24 Nov 2022 03:21:39 -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=btLV95DByN3blw97HUukIPl9TLDBVvqHiogY3B/xKlE=; b=ThXDjYP+GgdDd5ymCCcX1+l1gQ712NAbtcwJSER/tg5HTt4y/Uwi1G9SJjgxxR9uL3 agYjV0gxexPKJZvMZXj7UJ/nRmdVC+sC/aMLrNlN4uQ8p2ImU29hyJplmobaSt1t9Ebc 3HlxnqbmkQYqWBZ06+j5m0TbQXYJF2C09DwLazLycSWtd2ijqgnJsK/b9PxqF/Fgr048 9Kd/i/CeEEZysK41n/cLFyr0xlNYf/SZtqo8oLAjDzokLkAe+dFIpmBvul52cK8YcfKq e4kGK1MaLIbLOhTqYwe6MIxVDCCiCXb1wAZP8uiPGj7M9uRMyVMiTcDwYxWwlLOZ/r7Q PHPw== 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=btLV95DByN3blw97HUukIPl9TLDBVvqHiogY3B/xKlE=; b=l4mLrTePwJ/k+1HCuwYKZfIZmYeeHHK5CmcZS/JAXrRF/ZuUm47ReKRSZJ/IlBAhp9 4YaLAycOYKauVMkmICUQq8keVwDovdUh3ovaksfxUSXWGTvNkSdp82O5L2R8cZZh1xao +Xkv36n0wS7HXxJa4P+xR5EFlV6WaEkXpqAEJqr2TZYGc+Ys3/QK6WtJ80d4xcdV9zGp Nk0jYK6c9qaf9XSe0/Eq4a7gJNKR8nNkQdkmfo3kKL0D1eLgQrFZ+QedpFl0TgBi2mSo 3e+wwPcSx2dPM+enEbgrr0PYlnXMmMrc8axaUB/76fRfE1TTQJflwBfL2UnIae2NopEa BlCA== X-Gm-Message-State: ANoB5pnasXujP/aUZBVzhiOtDy1Yg4CNBAEaFnnZVmOjudOrxJS8IbDE IGm7jgMPOvNhgYmeF4h93V8DQYKM8kGaz+XB X-Google-Smtp-Source: AA0mqf4mmvgYE0KgXWK/cXKAqCkLX++sRBZUfa/2HsRCPvFsHVV0vsFTfO9W6lVMnnJOvd4R81aOBQ== X-Received: by 2002:adf:cd82:0:b0:238:b29e:4919 with SMTP id q2-20020adfcd82000000b00238b29e4919mr19969217wrj.583.1669288898872; Thu, 24 Nov 2022 03:21:38 -0800 (PST) Received: from tpp.orcam.me.uk (tpp.orcam.me.uk. [2001:8b0:154:0:ea6a:64ff:fe24:f2fc]) by smtp.gmail.com with ESMTPSA id p9-20020adfce09000000b0022dc6e76bbdsm1102961wrn.46.2022.11.24.03.21.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Nov 2022 03:21:38 -0800 (PST) Date: Thu, 24 Nov 2022 11:21:36 +0000 (GMT) From: "Maciej W. Rozycki" To: gdb-patches@sourceware.org cc: Andrew Burgess , Simon Marchi , Tom Tromey , Simon Sobisch Subject: [PATCH v8 0/6] gdb: split array and string limiting options 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, Here is v8 of the series to split array and string limiting options. Since no consensus was reached as to fixing PARAM_ZUINTEGER_UNLIMITED API for the `unlimited' setting I have dropped what used to be change 1/4 in v7 and adjusted what used to be change 2/4 accordingly. I have also moved extra literals out of the `erased_args' structure as requested. While updating inline documentation in the course of the latter action I have noticed that it has gone out of sync WRT actual code for numerous functions in cli-decode.c. So as not to mix up additions with fixes I have made preparatory changes 1/6 through 3/6 that address the problems with documentation first and then changes 4/6 through 6/6 respectively map to changes 2/4 through 4/4 from v7. I have regression-tested the changes with a native `x86_64-linux-gnu' configuration. See individual change descriptions for details, including updates made. OK to apply? Maciej