mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-05 21:17:07 +00:00
Fix w32 debugger
This commit is contained in:
parent
3d89f2cc21
commit
75ea9cea3c
@ -84,7 +84,7 @@ static ut64 getBaddrFromDebugger(RCore *r, const char *file) {
|
||||
if (!strcmp ("w32dbg", d->plugin->name)) {
|
||||
RIOW32Dbg *g = d->data;
|
||||
r->io->desc->fd = g->pid;
|
||||
//r_debug_attach (r->dbg,g->pid); // no es necesario ya se hacen unos cuantos attach antes y despues ....
|
||||
r_debug_attach (r->dbg,g->pid);
|
||||
}
|
||||
return r->io->winbase;
|
||||
#else
|
||||
|
@ -884,7 +884,10 @@ static int r_debug_native_kill (RDebug *dbg, int pid, int tid, int sig) {
|
||||
int ret = false;
|
||||
if (pid == 0) pid = dbg->pid;
|
||||
#if __WINDOWS__ && !__CYGWIN__
|
||||
ret = w32_terminate_process (dbg, pid);
|
||||
if (sig==0)
|
||||
ret = true;
|
||||
else
|
||||
ret = w32_terminate_process (dbg, pid);
|
||||
#else
|
||||
#if 0
|
||||
if (thread) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user