From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by sourceware.org (Postfix) with ESMTPS id D5C253858436 for ; Mon, 28 Nov 2022 13:49:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D5C253858436 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-io1-xd32.google.com with SMTP id h206so7565447iof.10 for ; Mon, 28 Nov 2022 05:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=qyVe8Jat2UIxrWVvTBmEP9GKvI7z02QUCij351qk1/M=; b=cQ7oDZq4MbYrx2lPy4fQrg2WmR9rPzSsg3A+gRELaQAQHEXqYtcwXnU6G+Ld2tntCE BgNrBEFW2FXjlCREzHrIhqC676PAQwLetZeJ2a7nRYgTM4HvMdjI5Pntc8Szu6cAhtJ4 Xu5IfYFdRvznDq4y7GFM+JlngytyjjybT4zYVlijevmh26ZkSGkxgG57F+0UbBSN9Hks KWY4GiraJNTcN1sGQ4DXrFqzoyZWrWZ5qLAwF0+jy2dWTl3jn5aYTABD27ATlCXu8lLZ cGYCJG7tO3O3Gfktt5AUVTPMa9fr9+vwGn8uCya6GANtjD78PUE2uvvYuG6Xvm5bKLAQ UHeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qyVe8Jat2UIxrWVvTBmEP9GKvI7z02QUCij351qk1/M=; b=kehGsitjq4az+PieO4ZgsB7glVuRPEkpNWahfVhj2+zkP6jIUdq21VIFYYT7OHCiEM Q9lzAWuqdu0Hg/EqeRyMPUrPedJXOgnkTb0jmvkw5vxtxy4oGUKd3wT2phrwJ8qe5cEx cJROMluLMPjpLJ+hvhCMBrxzdCWl3oM/ZwxyaAWkxKfYIZDvN/wlrOEcAWa0YG9GAX4F NCbNo249HeO2uviHca/T01ai/MvgEM9rFTxrJe4nUg5Rp8k3tIPG104MFnNnkO5UTPVX tsJquUG94xLn3wgJiJswjDaECBVpwdY2s7TiNErY7vJXDoREjaQOnNFqK9mJOSovaSyD aeQw== X-Gm-Message-State: ANoB5pmUKi09o0TmN8C0hmujQzvRwFE6v/DBPQ1vuUOPPD2h9V2kjwaw f75GgnErhJqxH1MfrcGZeJGbhw== X-Google-Smtp-Source: AA0mqf4/d2Y2Rj9oJjYWhUX9kqtXrXQCY/dzZm+UGMhKHh+Jz7URWPPbFNLYSfFBKbU2wkshz/evfw== X-Received: by 2002:a05:6602:120c:b0:6de:bb17:6da9 with SMTP id y12-20020a056602120c00b006debb176da9mr14461297iot.82.1669643358159; Mon, 28 Nov 2022 05:49:18 -0800 (PST) Received: from murgatroyd (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id o12-20020a02c6ac000000b00389db59c520sm1596411jan.27.2022.11.28.05.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 05:49:17 -0800 (PST) From: Tom Tromey To: Joel Brobecker Cc: Tom Tromey via Gdb-patches , Tom Tromey Subject: Re: [PATCH] Fix crash in "document" command References: <20221118160547.1336252-1-tromey@adacore.com> X-Attribution: Tom Date: Mon, 28 Nov 2022 06:49:16 -0700 In-Reply-To: (Joel Brobecker's message of "Sat, 19 Nov 2022 16:24:27 +0400") Message-ID: <871qpnqjdv.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=-5.0 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: >> PR cli/29800 points out that "document" will now crash when the >> argument is an undefined command. This is a regression due to the >> "document user-defined aliases" patch. Joel> Thanks for the fix. This looks good to me! Thanks, I'm checking it in. Tom