How to set gdb debugger connection?

11,114

Instructions are still mostly valid, I think.

  • "Run" menu => "Debug Configurations..." option

  • "C/C++ Attach to application" option => "New" contextual menu option

  • "Debugger" tab => Debugger: "gdbserver" option => "Connection" tab

gdbserver

Share:
11,114
jacknad
Author by

jacknad

Electrical Engineer with experience in microprocessor hardware design, ASM, PL/M, C/C++, C#, Android, Linux, Python, and Java. First high school radio design burst into flames during the demo. First software program was FORTRAN on punch cards. Worked in FL, IL, ND, NJ, TX, VA, and WA.

Updated on June 04, 2022

Comments

  • jacknad
    jacknad almost 2 years

    The instructions here show how to create a debug configuration but seem to be based on a different version of eclipse. How is the gdb debugger connection (TCP/IP address and Port number) configured in eclipse-indigo? I see Network Connections in Edit Configuration -> Configure Workspace Settings -> General... but no way to add TCP/IP address and Port number.