aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/gdbstub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha/gdbstub.c')
-rw-r--r--target-alpha/gdbstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/gdbstub.c b/target-alpha/gdbstub.c
index b23afe4587..1c18698aa6 100644
--- a/target-alpha/gdbstub.c
+++ b/target-alpha/gdbstub.c
@@ -49,7 +49,7 @@ static int cpu_gdb_read_register(CPUAlphaState *env, uint8_t *mem_buf, int n)
default:
return 0;
}
- GET_REGL(val);
+ return gdb_get_regl(mem_buf, val);
}
static int cpu_gdb_write_register(CPUAlphaState *env, uint8_t *mem_buf, int n)