aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-11 22:48:58 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-11 22:48:58 +0000
commitaa1f17c18d3778b10a93b858c10c075ee023487a (patch)
tree7ac8d036c10169cd3bd59df69055150d592491a8 /gdbstub.c
parentReduce variable shadowing, by Stefan Weil. (diff)
downloadqemu-kvm-aa1f17c18d3778b10a93b858c10c075ee023487a.tar.gz
qemu-kvm-aa1f17c18d3778b10a93b858c10c075ee023487a.tar.bz2
qemu-kvm-aa1f17c18d3778b10a93b858c10c075ee023487a.zip
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3066 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdbstub.c b/gdbstub.c
index 06cf30200..2ac8c5712 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1248,12 +1248,12 @@ int gdbserver_start(int port)
return 0;
}
#else
-static int gdb_chr_can_recieve(void *opaque)
+static int gdb_chr_can_receive(void *opaque)
{
return 1;
}
-static void gdb_chr_recieve(void *opaque, const uint8_t *buf, int size)
+static void gdb_chr_receive(void *opaque, const uint8_t *buf, int size)
{
GDBState *s = opaque;
int i;
@@ -1304,7 +1304,7 @@ int gdbserver_start(const char *port)
}
s->env = first_cpu; /* XXX: allow to change CPU */
s->chr = chr;
- qemu_chr_add_handlers(chr, gdb_chr_can_recieve, gdb_chr_recieve,
+ qemu_chr_add_handlers(chr, gdb_chr_can_receive, gdb_chr_receive,
gdb_chr_event, s);
qemu_add_vm_stop_handler(gdb_vm_stopped, s);
return 0;