Fix WinDBG crash and fix Windows client support

This commit is contained in:
skuater 2015-01-30 10:56:49 +01:00 committed by pancake
parent ef07bb63e8
commit 79e6dc5dd8
3 changed files with 5 additions and 2 deletions

View File

@ -51,6 +51,10 @@ we should specify the x86-32 too. (32 and 64 bit debugging is supported)
$ r2 -a x86 -b 32 -D wind windbg:///tmp/windbg.pipe
On Windows you should run the following line:
$ radare2 -D wind windbg://\\.\pipe\com_1
At this point, we will get stuck here:
[0x828997b8]> pd 20

View File

@ -14,7 +14,7 @@ static io_backend_t *io_backends[] = {
NULL,
};
static io_backend_t *sel_backend = NULL;
static io_backend_t *sel_backend = &iob_pipe;
int iob_select (const char *name) {
io_backend_t *iob;

View File

@ -307,7 +307,6 @@ int wind_wait_packet (WindCtx *ctx, const uint32_t type, kd_packet_t **p) {
*p = pkt;
} else {
free (pkt);
*p = 0;
}
return KD_E_OK;