diff options
Diffstat (limited to 'target/i386/gdbstub.c')
-rw-r--r-- | target/i386/gdbstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/gdbstub.c b/target/i386/gdbstub.c index 4a3de5f..41e265f 100644 --- a/target/i386/gdbstub.c +++ b/target/i386/gdbstub.c @@ -232,7 +232,7 @@ int x86_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) return 0; } -static int x86_cpu_gdb_load_seg(X86CPU *cpu, int sreg, uint8_t *mem_buf) +static int x86_cpu_gdb_load_seg(X86CPU *cpu, X86Seg sreg, uint8_t *mem_buf) { CPUX86State *env = &cpu->env; uint16_t selector = ldl_p(mem_buf); |