From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129127 invoked by alias); 18 Jun 2019 16:40:46 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 129060 invoked by uid 89); 18 Jun 2019 16:40:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_00,CLAIM_SUBJECT,SPF_FAIL autolearn=no version=3.3.1 spammy=english, English, sk:simark, simark@simark.ca X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Jun 2019 16:40:44 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hdHA2-0001fl-M4 for gdb@sourceware.org; Tue, 18 Jun 2019 12:40:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44637) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hdHA2-0003wI-29 for bug-gdb@gnu.org; Tue, 18 Jun 2019 12:40:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdHA0-0001cw-Ix for bug-gdb@gnu.org; Tue, 18 Jun 2019 12:40:41 -0400 Received: from simark.ca ([158.69.221.121]:54774) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdHA0-0001cB-Eq; Tue, 18 Jun 2019 12:40:40 -0400 Received: from [172.16.0.120] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 99F4A1E65F; Tue, 18 Jun 2019 12:40:39 -0400 (EDT) Subject: Re: [PATCH] doc: fix false claim about second argument to gdb To: Eli Zaretskii Cc: mhw@netris.org, bug-gdb@gnu.org, gdb-patches@sourceware.org References: <87imt321yr.fsf@netris.org> <83zhmeswfl.fsf@gnu.org> From: Simon Marchi Message-ID: Date: Tue, 18 Jun 2019 16:40:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <83zhmeswfl.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 158.69.221.121 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-SW-Source: 2019-06/txt/msg00051.txt.bz2 On 2019-06-18 12:14 p.m., Eli Zaretskii wrote: >> From: Simon Marchi >> Date: Tue, 18 Jun 2019 10:51:03 -0400 >> >> -You can, instead, specify a process ID as a second argument, if you want >> -to debug a running process: >> +You can, instead, specify a process ID as a second argument or using option >> +@code{-p}, if you want to debug a running process: > > "specify ... or using ..." is incorrect English. I guess you meant > "use"? Oh, that's right. Changed it to "use". > No other comments, thanks. (I didn't look at the code to see if the > description is factually correct.) I didn't check the code either, but tried various combinations and observed this behavior. I pushed the patch with the error above fixed, thanks. Simon