diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-03-18 08:31:16 +0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-04-17 21:34:06 +0100 |
commit | b5cde1da0a67aa9841da46ca804b48098e63e838 (patch) | |
tree | 3ee706e2a572ffaab9416a2882dfe21b345a6799 | |
parent | 177311157c9dbd408728620771b1fceb65d26846 (diff) | |
download | qemu-b5cde1da0a67aa9841da46ca804b48098e63e838.zip qemu-b5cde1da0a67aa9841da46ca804b48098e63e838.tar.gz qemu-b5cde1da0a67aa9841da46ca804b48098e63e838.tar.bz2 |
target-arm/gdbstub64.c: remove useless 'break' statement.
Clean up useless 'break' statement after 'return' statement.
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target-arm/gdbstub64.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-arm/gdbstub64.c b/target-arm/gdbstub64.c index e8a8295..8f3b8d1 100644 --- a/target-arm/gdbstub64.c +++ b/target-arm/gdbstub64.c @@ -32,10 +32,8 @@ int aarch64_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n) switch (n) { case 31: return gdb_get_reg64(mem_buf, env->xregs[31]); - break; case 32: return gdb_get_reg64(mem_buf, env->pc); - break; case 33: return gdb_get_reg32(mem_buf, pstate_read(env)); } |