From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by sourceware.org (Postfix) with ESMTPS id 8B9433858C74 for ; Thu, 21 Mar 2024 09:11:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8B9433858C74 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8B9433858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711012311; cv=none; b=a9iJAgyY7Kon15Q4GE26+Z1SJuFmGWyCOXyMHlaYm83vMTmpWlA83afcwWmP5KCcvg4xEEuRpiUxrv4MU/BebaJiwt93Ip4ofJKV8iQGjpf7wbj1QM3c+m3MI4Kd5YZnAH+qJzKK2fHfAshpze10A8YW7SHDIha+IUsToJ6/18c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711012311; c=relaxed/simple; bh=HRJM+sx50C5xD93T7LfSH/2XK6I9HVFFBHzo5QkUdV4=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature: Message-ID:Date:MIME-Version:Subject:From:To; b=a9b7lYD+ip1MD8sy/lBvOuY7c0RxvafN1WUuymJLjUHQArnbAn7yfhU8Pm21kiUWOUAwMYVWzeGV6VTDuEIFPm/Wl5vgIpt/IzVoDWRit7ov0OwLlYucN37vTnfaR5gm4nQbwYdwfmQa97aiP28vAzTO2PqiJzPWndLCywERI0A= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3F1685CB39; Thu, 21 Mar 2024 09:11:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1711012307; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fxwknUEsMHelKdxDHkQU5McAvYA/ZmaE5roQoITFogA=; b=qvSobI5418meShg96hkdvDHKan92XJCACbKV8zW7vjhR+f0TkFZeqT3KTPK4u1tlVgUreP lpOfcscoD+kqq10oXcGz+fEfk9OoUppN8f/ngKchfSKmpox4VynLSq331QwHy42CutLhNC xMJwtbQoiPQBm2UBv7qewsOID4GH1TQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1711012307; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fxwknUEsMHelKdxDHkQU5McAvYA/ZmaE5roQoITFogA=; b=/daDRDiLbGJJoDxQvHtkh/Ovwks7FCi6qQ9GkdbskUlEc0zW5kSNGs2nmQdSbY84fLQQyR AM2CC5xsZ1EPNbDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1711012307; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fxwknUEsMHelKdxDHkQU5McAvYA/ZmaE5roQoITFogA=; b=qvSobI5418meShg96hkdvDHKan92XJCACbKV8zW7vjhR+f0TkFZeqT3KTPK4u1tlVgUreP lpOfcscoD+kqq10oXcGz+fEfk9OoUppN8f/ngKchfSKmpox4VynLSq331QwHy42CutLhNC xMJwtbQoiPQBm2UBv7qewsOID4GH1TQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1711012307; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fxwknUEsMHelKdxDHkQU5McAvYA/ZmaE5roQoITFogA=; b=/daDRDiLbGJJoDxQvHtkh/Ovwks7FCi6qQ9GkdbskUlEc0zW5kSNGs2nmQdSbY84fLQQyR AM2CC5xsZ1EPNbDg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 277C113A2E; Thu, 21 Mar 2024 09:11:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id IKA4CNP5+2UdAwAAD6G6ig (envelope-from ); Thu, 21 Mar 2024 09:11:47 +0000 Message-ID: <74367c91-9595-44f9-8440-235b847eb30e@suse.de> Date: Thu, 21 Mar 2024 10:11:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCHv4 01/12] gdb/doc: extended documentation for inferior function calls Content-Language: en-US From: Tom de Vries To: Andrew Burgess , gdb-patches@sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: -3.48 X-Spamd-Result: default: False [-3.48 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BAYES_HAM(-2.20)[96.17%]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.19)[-0.971]; RCPT_COUNT_TWO(0.00)[2]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: On 3/21/24 10:03, Tom de Vries wrote: > On 2/28/23 17:42, Andrew Burgess via Gdb-patches wrote: >> +If a called function is interrupted for any reason, including hitting >> +a breakpoint, or triggering a watchpoint, and the stack is not unwound > > Hi Andrew, > > I read this bit and went investigating why a watchpoint didn't trigger > during a called function (PR31485), and found that in fact we explicitly > disable watchpoints during a called function. > > I suppose we should either drop mentioning the watchpoint here, or > perhaps better, mention that they are disabled. > Ah, I found that the behaviour is documented at the watchpoints side ( https://sourceware.org/gdb/current/onlinedocs/gdb.html/Set-Watchpoints.html ): ... If you call a function interactively using print or call, any watchpoints you have set will be inactive until GDB reaches another kind of breakpoint or the call completes. ... Thanks, - Tom > And perhaps eventually, allow watchpoints to be triggered. > > Thanks, > - Tom