Skip to content

Commit cb1831f

Browse files
committed
use alternative breakpoint for sulong
1 parent a7db452 commit cb1831f

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/src/capi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void* wrap_keywords(PyCFunctionWithKeywords fun, PyObject *module, PyObject *var
211211
void* wrap_fastcall(_PyCFunctionFast fun, PyObject * self, PyObject **args, PyObject *nargs, PyObject *kwnames);
212212
void* wrap_unsupported(void *fun, ...);
213213

214-
#define TDEBUG __asm__("int $3")
214+
#define TDEBUG __builtin_debugtrap()
215215
#define get_method_flags_wrapper(flags) \
216216
(((flags) < 0) ? \
217217
truffle_read(PY_TRUFFLE_CEXT, "METH_DIRECT") : \

0 commit comments

Comments
 (0)