gdb in backtrack

后端 未结 2 2030
刺人心
刺人心 2021-01-31 20:35

I\'ve just tried using gdb on BackTrack Linux and I must say that its awesome. I wonder how gdb in backtrack is configured to act this way.

相关标签:
2条回答
  • 2021-01-31 21:11

    They seem to be using this .gdbinit file:

    https://github.com/gdbinit/Gdbinit/blob/master/gdbinit

    0 讨论(0)
  • 2021-01-31 21:17

    I'm guessing that this is done using a post command hook:

    http://sourceware.org/gdb/current/onlinedocs/gdb/Hooks.html#Hooks

    inside of a system wide gdbinit:

    http://sourceware.org/gdb/onlinedocs/gdb/System_002dwide-configuration.html

    which may or may not reference shell commands and/or use gdb python scripts. try:

    strace gdb /bin/echo 2>&1 | grep gdbinit
    
    0 讨论(0)
提交回复
热议问题