fix printing stdout when sourcing .gdbinit (#2967)

pull/2932/head^2
patryk4815 7 months ago committed by GitHub
parent 22c0e470d5
commit 98b7d6c5e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1337,7 +1337,7 @@ class GDB(pwndbg.dbg_mod.Debugger):
def load_source(file_path: str):
try:
gdb.execute(f"source {file_path}", to_string=True)
gdb.execute(f"source {file_path}")
except gdb.error as e:
print(e)

Loading…
Cancel
Save