Skip to content

Commit 4a50a6a

Browse files
dominikmascherbauerolpaw
authored andcommitted
[GR-64747] Do not include Python library pdb by default in gdb-debughelpers.
PullRequest: graal/20724
2 parents 09e213f + e2f5980 commit 4a50a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/debug/gdbpy/gdb-debughelpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import sys
2929
import os
3030
import re
31-
import pdb
3231

3332
import gdb
3433
import gdb.types
@@ -1186,6 +1185,7 @@ def complete(self, text: str, word: str) -> int: # list[str] | int:
11861185
def invoke(self, arg: str, from_tty: bool) -> None:
11871186
trace(f'<SVMCommandDebugPrettyPrinting> - invoke({arg})')
11881187
command = "gdb.execute('print {}')".format(arg.replace("'", "\\'"))
1188+
import pdb
11891189
pdb.run(command)
11901190

11911191

0 commit comments

Comments
 (0)