Visual GDB Debug Error – sh: gdb: command not found

Sysprogs forums Forums VisualGDB Visual GDB Debug Error – sh: gdb: command not found

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  support 2 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11697

    khtt58
    Participant

    Hello – I have ran into the attached error for debugging using Visual GDB and can’t figure out what exactly is wrong.

    With the three modules I have the code can be compiled and debugged in one module only. One the other two modules the code can be only compiled and the error attached appear. Till last week visual GDB would compile and debug with no issue.. I tried re-flashing the other modules but that didn’t help.

    Any suggestion would much much appreciated. I have full VisualGDB license if that makes a different.

     

    Attachments:
    You must be logged in to view attached files.
    #11699

    support
    Keymaster

    Hi,

    This error means that the machine where you compile your code is missing the gdb debugger. You can normally install it by running “sudo apt-get install gdb” or “yum install gdb”.

    If you are using a cross-compiler, you would need to open the VisualGDB Project Properties and manually specify the location of the GDB executable that matches your cross-toolchain.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.