how to debug in target machine?

Sysprogs forums Forums VisualGDB how to debug in target machine?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6340
    ronaldinho
    Participant

    first i must to say what is the new form? the title font is so small i cann’t see clearly.

    the problen is i use gdbserver cause some strange probelem, and my target machine has gdb,so i want to copy source to the target machine in the after build events(yes it works), and start gdb in target machine instead of gdbserver.how can i do ? virtualgdb now has no seettings  like this.

    • This topic was modified 9 years, 7 months ago by ronaldinho.
    #6343
    support
    Keymaster

    You do not need to copy the source code to the target machine. Although GDB running there won’t be able to locate the source files, it will report the file paths to VisualGDB. And as long as VisualGDB has the correct path mappings (configured via VisualGDB Project Properties), it will be able to map those paths to the correct source files on the Windows machine.

    #6349
    ronaldinho
    Participant

    how can i use gdb in target machin to debug my program?could you please explain a little in detail?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.