From 3570c7a55b8980ef3768e2797508fc331b03109f Mon Sep 17 00:00:00 2001 From: John Doty Date: Sat, 23 Sep 2023 09:10:48 -0500 Subject: [PATCH] [quickjs] Remove CONFIG_DEBUGGER for now I will add it back later once the debugger is done --- oden-js-sys/quickjs/quickjs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/oden-js-sys/quickjs/quickjs.c b/oden-js-sys/quickjs/quickjs.c index 159ecb81..f7033f31 100644 --- a/oden-js-sys/quickjs/quickjs.c +++ b/oden-js-sys/quickjs/quickjs.c @@ -109,8 +109,6 @@ /* test the GC by forcing it before each object allocation */ //#define FORCE_GC_AT_MALLOC -#define CONFIG_DEBUGGER - #ifdef CONFIG_ATOMICS #include #include @@ -312,13 +310,11 @@ struct JSRuntime { #endif void *user_opaque; -#ifdef CONFIG_DEBUGGER struct list_head breakpoint_list; JSDebugCallbackFunc *debug_callback; void *debug_opaque; int stepping_pc; uint8_t stepping_byte; -#endif }; struct JSClass { @@ -1664,9 +1660,7 @@ JSRuntime *JS_NewRuntime2(const JSMallocFunctions *mf, void *opaque) #endif init_list_head(&rt->job_list); -#ifdef CONFIG_DEBUGGER init_list_head(&rt->breakpoint_list); -#endif if (JS_InitAtoms(rt)) goto fail; @@ -54321,7 +54315,6 @@ JSBreakpoint *JS_SetBreakpoint(JSContext *ctx, JSAtom file, int line) } } } - return NULL; }