[misc] add some GDB configs

This commit is contained in:
Dmytro Meleshko 2020-12-02 02:06:27 +02:00
parent 57783871c1
commit eb3f7b8726

8
misc/gdbinit Normal file
View file

@ -0,0 +1,8 @@
set disassembly-flavor intel
set print asm-demangle on
python
import os
if 'GDB_OUTPUT_TTY' in os.environ:
gdb.execute('tty ' + os.environ['GDB_OUTPUT_TTY'])
end