尝试运行gdbgui时出现错误,我该如何解决?

时间:2020-03-12 16:33:28

标签: gdb

大家好, 我正在尝试运行gdbgui,但出现以下错误。我怎样才能解决这个问题?

shyampradhan@shyampradhan-HP-250-G3-Notebook-PC:~/gdbgui/gdbgui$ gdbgui a.out
Traceback (most recent call last):
  File "/home/shyampradhan/.local/bin/gdbgui", line 7, in <module>
    from gdbgui.backend import main
  File "/home/shyampradhan/.local/lib/python2.7/site-packages/gdbgui/backend.py", line 38, in <module>
    from gdbgui.statemanager import StateManager  # noqa
  File "/home/shyampradhan/.local/lib/python2.7/site-packages/gdbgui/statemanager.py", line 3, in <module>
    from pygdbmi.gdbcontroller import GdbController
  File "/home/shyampradhan/.local/lib/python2.7/site-packages/pygdbmi/gdbcontroller.py", line 57
    gdb_path: str = "gdb",
            ^
SyntaxError: invalid syntax

0 个答案:

没有答案