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>
This commit is contained in:
parent
177311157c
commit
b5cde1da0a
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user