winedbg: Fixed regression in gdb handling.

This commit is contained in:
Eric Pouech 2006-02-27 21:50:33 +01:00 committed by Alexandre Julliard
parent 1f3028563d
commit 22ff946409

View File

@ -2273,7 +2273,8 @@ int gdb_main(int argc, char* argv[])
}
return -1;
}
if (dbg_active_attach(argc, argv) || dbg_active_launch(argc, argv))
if (dbg_active_attach(argc, argv) == start_ok ||
dbg_active_launch(argc, argv) == start_ok)
return gdb_remote(gdb_flags);
return -1;
}