From: Mike Frysinger Date: Thu, 21 Dec 2023 05:15:48 +0000 (-0500) Subject: sim: ppc: phb: add missing break to address decoder X-Git-Tag: binutils-2_42~470 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbdfef872beb095c5549f2005d917b0043492717;p=thirdparty%2Fbinutils-gdb.git sim: ppc: phb: add missing break to address decoder I don't know what this emulation does exactly, but it missing a break statement seems kind of obvious based on the 32-bit case above it. --- diff --git a/sim/ppc/hw_phb.c b/sim/ppc/hw_phb.c index ec1119ee7d9..06eb29fc5a7 100644 --- a/sim/ppc/hw_phb.c +++ b/sim/ppc/hw_phb.c @@ -652,6 +652,7 @@ hw_phb_unit_decode(device *me, && val != 0x10 && val != 0x18 && val != 0x20) device_error(me, "Register number (0x%lx) invalid in 64bit PCI address %s", val, unit); + break; case ss_config_code: device_error(me, "internal error"); }