diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-18 14:08:04 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-18 14:08:04 +0000 |
commit | ceecf1d158d324c61a7ec1ba5de57dbc8a0f8373 (patch) | |
tree | bb58577711ef3fedae6ebbe731ac4da7f2d85bde /gdbstub.c | |
parent | 9c554c1c0b01642c39232489cef8301a7858824d (diff) | |
download | qemu-ceecf1d158d324c61a7ec1ba5de57dbc8a0f8373.zip qemu-ceecf1d158d324c61a7ec1ba5de57dbc8a0f8373.tar.gz qemu-ceecf1d158d324c61a7ec1ba5de57dbc8a0f8373.tar.bz2 |
add an init function parameter to qemu_chr_open()
And use it for the malta emulation. Fix segfault introduced in
revision 6352.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6365 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r-- | gdbstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2286,7 +2286,7 @@ int gdbserver_start(const char *port) port = gdbstub_port_name; } - chr = qemu_chr_open("gdb", port); + chr = qemu_chr_open("gdb", port, NULL); if (!chr) return -1; |