Commit 612458f544d4dfe4264217f1bbf6d611037a7b79
1 parent
80a9d035
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1188 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
7 deletions
gdbstub.c
... | ... | @@ -218,13 +218,6 @@ static void cpu_gdb_write_registers(CPUState *env, uint8_t *mem_buf, int size) |
218 | 218 | } |
219 | 219 | |
220 | 220 | #elif defined (TARGET_PPC) |
221 | -static uint32_t from_le32 (uint32_t *buf) | |
222 | -{ | |
223 | - uint8_t *p = (uint8_t *)buf; | |
224 | - | |
225 | - return p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24); | |
226 | -} | |
227 | - | |
228 | 221 | static int cpu_gdb_read_registers(CPUState *env, uint8_t *mem_buf) |
229 | 222 | { |
230 | 223 | uint32_t *registers = (uint32_t *)mem_buf, tmp; |
... | ... | @@ -477,6 +470,8 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) |
477 | 470 | return RS_IDLE; |
478 | 471 | } |
479 | 472 | |
473 | +extern void tb_flush(CPUState *env); | |
474 | + | |
480 | 475 | static void gdb_vm_stopped(void *opaque, int reason) |
481 | 476 | { |
482 | 477 | GDBState *s = opaque; | ... | ... |