diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-10-21 19:51:11 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-10-21 19:51:11 +0200 |
| commit | 42d4ba95c2e0c34ea5536c3da34a9161d29ec237 (patch) | |
| tree | 509a0c1f3bf4aeea052b4894b5925f68291816be /.config/gdb/gdbinit.py | |
| parent | 2ad5d2a3ec1c2739ec26f85d17b30655aa56d9e4 (diff) | |
universal gdbinit
Diffstat (limited to '.config/gdb/gdbinit.py')
| -rw-r--r-- | .config/gdb/gdbinit.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/gdb/gdbinit.py b/.config/gdb/gdbinit.py new file mode 100644 index 0000000..a6ebfea --- /dev/null +++ b/.config/gdb/gdbinit.py @@ -0,0 +1,14 @@ +import gdb + +def try_execute(*args): + try: + gdb.execute(*args) + except gdb.error: + pass + +# x86 only +try_execute("set disassembly-flavor intel") + +gdb.execute("set debuginfod enabled off") +gdb.execute("set confirm off") + |