Search
lxdream.org :: lxdream/src/gdbserver.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdbserver.c
changeset 1081:ef31ae97bb8b
prev1077:136fc24d17ef
next1271:3edc4bdd7c0b
author nkeynes
date Tue Dec 01 18:18:15 2009 +1000 (11 years ago)
permissions -rw-r--r--
last change Fix compile-time warnings
file annotate diff log raw
1.1 --- a/src/gdbserver.c Wed Oct 07 17:53:56 2009 +1000
1.2 +++ b/src/gdbserver.c Tue Dec 01 18:18:15 2009 +1000
1.3 @@ -523,7 +523,7 @@
1.4 server->cpu = cpu;
1.5 server->mmu = mmu;
1.6 server->fd = fd;
1.7 - gboolean result = io_register_tcp_listener( fd, gdb_server_connect_callback, server, gdb_server_free );
1.8 + gboolean result = io_register_tcp_listener( fd, gdb_server_connect_callback, server, gdb_server_free ) != NULL;
1.9 INFO( "%s GDB server running on port %d", cpu->name, port );
1.10 return result;
1.11 }
.