From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id eX56ND5tsWk8sCMAWB0awg (envelope-from ) for ; Wed, 11 Mar 2026 09:25:18 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=G9WPCxLz; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=35fOnuAt; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=uZp9uDcH; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=TUt0h4ky; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C91721E08D; Wed, 11 Mar 2026 09:25:18 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 913A81E08D for ; Wed, 11 Mar 2026 09:25:17 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 022FD4BB58A7 for ; Wed, 11 Mar 2026 13:25:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 022FD4BB58A7 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=G9WPCxLz; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=35fOnuAt; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=uZp9uDcH; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=TUt0h4ky Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 471B04BB58B2 for ; Wed, 11 Mar 2026 13:24:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 471B04BB58B2 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 471B04BB58B2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773235475; cv=none; b=j6IXzWT61kKPy7jcdMsONTNt8Ezvt1VGNruMpZZwcYrQlQlA+sujFjjHHlw6HA+ldmPsoEVqG1o0AuVOI5H07IdVB8L2ek6lR6qNaBqDVTl8ezNkR7lnGSIqIl06RajHgJxQm2yVCpTF0Tn6Yjn9XnfSXtSG0mAMIAL8SBDKqPQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773235475; c=relaxed/simple; bh=T2joCAnSoCB++L/OIvP83POR/o+QAprjWyfvmladDGE=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature: Message-ID:Date:MIME-Version:Subject:To:From; b=hflnKL2FtE5MSqxValpA55ywLAHe1NN2jUZzEgVntN0tVrF4G+CLbn9P69Sm8xRmnp0ZbXRBQatZHRQyzxyBGuKkc2v6gt5htiANAa4at3HNNm/nOqTpXQWx2IoxQmZTbRn7aVRneKf8l4pEcb544DihbOKdLAeACJehs6yMejY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 471B04BB58B2 Received: from imap1.dmz-prg2.suse.org (unknown [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 3133C5BEDB; Wed, 11 Mar 2026 13:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1773235474; 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=bKPaU0ERa/9zD/FhkOoJHLIrdGC3s8Uox+htIFlObXA=; b=G9WPCxLzr8bd70XGq4/IY52vVXYvD/VTZXIO+zxyP2/3j5k2k0w+Cchi63DSuAf3MOC2Cj 65EDUl7yB/EWtR1p4i9e8c0ZMu6xXt8euxtsx9iPXUDRmrpHusQaiTBV7onzZ7Bap0jVbr vt6CR6yl7QBCWXCBr1BNsEtvo281gRs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1773235474; 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=bKPaU0ERa/9zD/FhkOoJHLIrdGC3s8Uox+htIFlObXA=; b=35fOnuAtpG26U4Y4xbb56CInEeY7x41Y2TTNDIeUOJNhcP2oZwT6rfAW5WGZMxlEzBL317 IphiENsKR+NHvSCQ== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1773235473; 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=bKPaU0ERa/9zD/FhkOoJHLIrdGC3s8Uox+htIFlObXA=; b=uZp9uDcH8qOHiNHlTD/76wwVhkeAIe3VDmQtjMRPEJ5s+SmeDI74h4Hwjc3txlRRiup9sG ligAJ3uzY6TEOazuj3j4iFJfFJ2OiNM8oNWUVt58S9OSgCEoxkJxUsDv7Sm2FhxPgqMBHZ 51Rm2E2w5I+NvNAsyEAIhg3ACrqj2LY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1773235473; 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=bKPaU0ERa/9zD/FhkOoJHLIrdGC3s8Uox+htIFlObXA=; b=TUt0h4kyuDbPnv61Buy/OeqgsH31Ka1GnG6oxs0tsbLpyYSoO3Aqoj+tiQBdf2ZOyqfh8l 9EOU40a71NryjVDA== 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 1BFB33FA34; Wed, 11 Mar 2026 13:24:33 +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 hsWZBRFtsWmOUwAAD6G6ig (envelope-from ); Wed, 11 Mar 2026 13:24:33 +0000 Message-ID: <4f490289-ad52-4aa9-b559-b6647b2de051@suse.de> Date: Wed, 11 Mar 2026 14:24:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] [gdb/symtab] Tweak fix-up of truncated inline function block ranges To: Andrew Burgess , gdb-patches@sourceware.org References: <20260302114849.1797017-1-tdevries@suse.de> <20260302114849.1797017-4-tdevries@suse.de> <875x738ybx.fsf@redhat.com> Content-Language: en-US From: Tom de Vries In-Reply-To: <875x738ybx.fsf@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.996]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.de:mid] X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 3/10/26 5:05 PM, Andrew Burgess wrote: > Which is why I tried to write DWARF assembler tests to cover edge cases > as I found them, and I think it would be great if we could get such a > test to cover this fix too. Agreed. > I'm happy to help with, or even write, the > test, once I can reproduce the failure. My first try: ... diff --git a/gdb/testsuite/gdb.dwarf2/dw2-extend-inline-block.exp b/gdb/testsuite/gdb.dwarf2/dw2-ext end-inline-block.exp index 9e4798b53f3..82d3f7e0310 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-extend-inline-block.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-extend-inline-block.exp @@ -115,7 +115,7 @@ proc build_dwarf_for_contiguous_block { asm_file } { DW_LNS_copy DW_LNE_set_address main_3 - line $::foo_call_line + line [expr $::foo_call_line + 1] DW_LNS_negate_stmt DW_LNS_copy ... doesn't seem to work (in the sense of causing failure with the fix applied), I'll investigate a bit further to understand why. Thanks, - Tom