Skip to content

Commit 752280d

Browse files
committed
Add missing ____executor_globals in dump_bt if needed
1 parent 613674c commit 752280d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gdbinit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ define dump_bt
4444
set $count = (int)*($fst.arguments)
4545

4646
if $t->object
47-
if $fst.function.common.scope->name
47+
if $fst.function.common.scope
4848
printf "%s->", $fst.function.common.scope->name
4949
else
50+
____executor_globals
5051
set $class_name_ptr = (char **)malloc(sizeof(char **))
5152
set $class_name_len = (int *)malloc(sizeof(int *))
5253

0 commit comments

Comments
 (0)