diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 00:15:48 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 01:21:18 -0500 |
commit | cbdfef872beb095c5549f2005d917b0043492717 (patch) | |
tree | cff522836e0f89dc1e069e07175a7f52c6038713 | |
parent | 5eba9ae8d52a2375e1f2394a4930fdb92844586b (diff) | |
download | gdb-cbdfef872beb095c5549f2005d917b0043492717.zip gdb-cbdfef872beb095c5549f2005d917b0043492717.tar.gz gdb-cbdfef872beb095c5549f2005d917b0043492717.tar.bz2 |
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.
-rw-r--r-- | sim/ppc/hw_phb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/ppc/hw_phb.c b/sim/ppc/hw_phb.c index ec1119e..06eb29f 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"); } |