mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[misc] add some GDB configs
This commit is contained in:
parent
57783871c1
commit
eb3f7b8726
1 changed files with 8 additions and 0 deletions
8
misc/gdbinit
Normal file
8
misc/gdbinit
Normal 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
|
Loading…
Reference in a new issue