From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 549A93858D39 for ; Mon, 24 Apr 2023 16:30:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 549A93858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqz5D-0005tQ-LB; Mon, 24 Apr 2023 12:30:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5qCnVrPnxVeEH31EF2lvMckl1LwAT2wa1pzgwQFbDfQ=; b=eLG8AUMNAT3O nB8aSsSo0KEn1FLV+HmvhQOxqpxzWFcVZMHSFRtE8WuDnusFI1q55a1DybWYwVBt5aH1G5dCWi3Z8 na49SgzDPFV2ifruELnTtp6m/Fiz1UfdNt4ri4dBRf5awC8VyjEphtaBvj72gBjWyp/dfXp8OR3zQ Z3IyK0vdcjmIKU3q+t5rVkLokTss0r18E81r7erSkLgpsHaQ3zb1U7rWCJI3KgjUTWyUVYDrZn5gl X/8cyflWaNtQUq7wnKGbg/R2pelex+9teZbi7uQxxdU49oo/GEmx+4cJpxgt2jxA6eoo/ldkezcTm /Dth5dN9+DUQwKS4p0IAtQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqz5A-0007p6-MT; Mon, 24 Apr 2023 12:30:30 -0400 Date: Mon, 24 Apr 2023 19:30:53 +0300 Message-Id: <831qk9xmwy.fsf@gnu.org> From: Eli Zaretskii To: Andrew Burgess Cc: gdb-patches@sourceware.org In-Reply-To: <4da5caec8b9bba91ffc25349e86bc99797f4c9e2.1682352919.git.aburgess@redhat.com> (message from Andrew Burgess via Gdb-patches on Mon, 24 Apr 2023 17:15:38 +0100) Subject: Re: [PATCH] gdb/doc: extend the documentation of the jump command References: <4da5caec8b9bba91ffc25349e86bc99797f4c9e2.1682352919.git.aburgess@redhat.com> X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Cc: Andrew Burgess > Date: Mon, 24 Apr 2023 17:15:38 +0100 > From: Andrew Burgess via Gdb-patches > > This commit addresses PR gdb/7946. While checking for bugs relating > to the jump command I noticed a long standing bug that points out a > deficiency with GDB's documentation of the jump command. > > The bug points out that 'jump 0x...' is not always the same as 'set > $pc = 0x...' and then 'continue'. Writing directly to the $pc > register does not update any auxiliary state, e.g. $npc on SPARC, > while using 'jump' does. > > It felt like this would be an easy issue to address by adding a > paragraph to the docs, so I took a stab at writing something suitable. Thanks, this is fine. Approved-By: Eli Zaretskii