From fa5efccb2a063f1dee46ed3ebd9192b318009f65 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Mon, 15 Aug 2011 11:17:30 -0500 Subject: char: rename qemu_chr_read() -> qemu_chr_be_write() Signed-off-by: Anthony Liguori --- gdbstub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdbstub.c') diff --git a/gdbstub.c b/gdbstub.c index b0f57c1747..35bf00978c 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -2194,7 +2194,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) hextomem(mem_buf, p + 5, len); len = len / 2; mem_buf[len++] = 0; - qemu_chr_read(s->mon_chr, mem_buf, len); + qemu_chr_be_write(s->mon_chr, mem_buf, len); put_packet(s, "OK"); break; } -- cgit v1.2.3