From patchwork Thu Dec 21 06:44:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 82632 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D6F493858407 for ; Thu, 21 Dec 2023 06:45:00 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id F15CE385840F for ; Thu, 21 Dec 2023 06:44:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F15CE385840F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F15CE385840F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703141087; cv=none; b=LKbLOHJXblJ8pNY+9AJ1ogElIEzyZN88/yV9vAkbWWoZ0yvslY7atzjMZUVNkt5yFeMirxpfMOaCwIN2gMQpjtDcjRNd0ngdg9Ckr1OBxy/adhv+odmNhnNjX2P0M9dwVMyOB1tWA9iexekIDUSR4esZd3NgvqBoOX/N0dAD9y8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703141087; c=relaxed/simple; bh=wJuNxS8iOINc0tBQV+68Jctb8x7MeIJ5rm+hCEpfdwo=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=U1L8e5VpkOFRVOa3e1vUwI+9S3wGgOYhiiRJZug3X8l41Z+AfXnu+VY4rL+9SRR5/6PYs8e7B1rKuQyolqB3wplchHel/sRxSfUIORIl7YiqkWMOzXCF96ZI28telM0V2yhKUJU5EgqCngRWDUzasScbuZmmtzZ88IDQjXxfxOs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 8C3C5340943; Thu, 21 Dec 2023 06:44:46 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH/committed] sim: rx: add missing break to memory write Date: Thu, 21 Dec 2023 01:44:45 -0500 Message-ID: <20231221064445.14761-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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+patchwork=sourceware.org@sourceware.org It doesn't seem like we want to keep executing the next block of code after processing the request. --- sim/rx/mem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sim/rx/mem.c b/sim/rx/mem.c index 2cba4cb3662d..83e23023f943 100644 --- a/sim/rx/mem.c +++ b/sim/rx/mem.c @@ -324,6 +324,7 @@ mem_put_byte (unsigned int address, unsigned char value) halt_pipeline_stats (); else reset_pipeline_stats (); + break; } #endif