gdb in backtrack

后端 未结 2 2032
刺人心
刺人心 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: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
    

提交回复
热议问题