python exception No module named gdb:

后端 未结 4 1522
半阙折子戏
半阙折子戏 2020-12-17 20:35

I\'ve just compiled gdb 7.8 from source in my home directory on a server machine running linux. I had previously been using gdb 7.6, and aside from

4条回答
  •  星月不相逢
    2020-12-17 21:15

    You should specify the value of "--data-directory". For example, if you load gdb from the build directory, the command should be:

    ./gdb -data-directory ./data-directory
    

    Then gdb can know where to find python module.

    You can refer this discussion.

提交回复
热议问题