Fix Android remote debug not hitting breakpoints

A change in `Main`'s API is needed. Please read the comment in the diff for an explanation.
This commit is contained in:
Pedro J. Estébanez
2017-08-22 17:21:41 +02:00
parent 39c6b3d942
commit 2a5ee5dec9
3 changed files with 10 additions and 4 deletions

View File

@ -34,6 +34,7 @@
@author Juan Linietsky <reduzio@gmail.com>
*/
#include "core/os/thread.h"
#include "error_list.h"
#include "typedefs.h"
@ -49,7 +50,7 @@ class Main {
public:
static Error setup(const char *execpath, int argc, char *argv[], bool p_second_phase = true);
static Error setup2();
static Error setup2(Thread::ID p_main_tid_override = 0);
static bool start();
static bool iteration();
static void cleanup();