qemu/.gdbinit
<<
>>
Prefs
   1# GDB may have ./.gdbinit loading disabled by default.  In that case you can
   2# follow the instructions it prints.  They boil down to adding the following to
   3# your home directory's ~/.gdbinit file:
   4#
   5#   add-auto-load-safe-path /path/to/qemu/.gdbinit
   6
   7# Load QEMU-specific sub-commands and settings
   8source scripts/qemu-gdb.py
   9