diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 23:34:06 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 23:34:06 +0000 |
commit | 612458f544d4dfe4264217f1bbf6d611037a7b79 (patch) | |
tree | b8731bd22e6344d62cd1543a9b5559f7471e9dbe /gdbstub.c | |
parent | 80a9d03503494feffab254d7d366ab55533f5d09 (diff) | |
download | qemu-612458f544d4dfe4264217f1bbf6d611037a7b79.tar.gz qemu-612458f544d4dfe4264217f1bbf6d611037a7b79.tar.bz2 qemu-612458f544d4dfe4264217f1bbf6d611037a7b79.zip |
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1188 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r-- | gdbstub.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -218,13 +218,6 @@ static void cpu_gdb_write_registers(CPUState *env, uint8_t *mem_buf, int size) } #elif defined (TARGET_PPC) -static uint32_t from_le32 (uint32_t *buf) -{ - uint8_t *p = (uint8_t *)buf; - - return p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24); -} - static int cpu_gdb_read_registers(CPUState *env, uint8_t *mem_buf) { uint32_t *registers = (uint32_t *)mem_buf, tmp; @@ -477,6 +470,8 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) return RS_IDLE; } +extern void tb_flush(CPUState *env); + static void gdb_vm_stopped(void *opaque, int reason) { GDBState *s = opaque; |