Revision 5b50e790 qom/cpu.c

b/qom/cpu.c
157 157
}
158 158

  
159 159

  
160
static int cpu_common_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg)
161
{
162
    return 0;
163
}
164

  
165
static int cpu_common_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg)
166
{
167
    return 0;
168
}
169

  
170

  
160 171
void cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf,
161 172
                    int flags)
162 173
{
......
253 264
    k->write_elf32_note = cpu_common_write_elf32_note;
254 265
    k->write_elf64_qemunote = cpu_common_write_elf64_qemunote;
255 266
    k->write_elf64_note = cpu_common_write_elf64_note;
267
    k->gdb_read_register = cpu_common_gdb_read_register;
268
    k->gdb_write_register = cpu_common_gdb_write_register;
256 269
    dc->realize = cpu_common_realizefn;
257 270
    dc->no_user = 1;
258 271
}

Also available in: Unified diff