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 Fri Dec 02 18:18:04 2011 +1000 (12 years ago)
permissions -rw-r--r--
last change SH4 shadow-mode tweaks
- Fix exceptions generated by the translator to account for the excepting
instruction(s) in the cycle counts.
- Compare floating point regs bitwise rather than with FP comparisons
(otherwise can fail due to nan != nan)
- Dump the translated block when we abort with an inconsistency
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 Fri Dec 02 18:18:04 2011 +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 }
.