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 15 08:46:37 2009 +1000 (14 years ago)
permissions -rw-r--r--
last change Add side-by-side x86+sh4 disassembly output
Print SH4 state information and disassembly of the current block when
crashing.
Fix delay slot instruction in conditional branch not being marked as a
delay-slot instruction in the branch-not-taken path.
Rename REG_* defines in cpu.h to avoid conflict with translation defs
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 15 08:46:37 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 }
.