aboutsummaryrefslogtreecommitdiff
path: root/.config/gdb/gdbinit.py
blob: a6ebfea7e6cd6e117a2d6e16c9a3596aa3404244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")