c++ - How to do remote debugging with Eclipse CDT without gdbserver? -


we're using eclipse cdt 5 c++ ide on windows develop c++ application on remote aix host.

eclipse cdt has ability perform remote debugging using gdbserver. unfortunately, gdbserver not supported on aix.

is familiar way debug remotely using eclipse cdt without gdbserver? perhaps using ssh shell connection gdb?

finally got gdb run remotly anyhow now. @ bug-symbol on taskbar took debug configurations - gdb hardware debugging.

in main c/c++ applications set full path on samba share of executable (x:\abin\vlmi9506). set linked folder on x:\abin in project. modified batch-script in gdb setup. it's not directly calling gdb in plink-session unix-shell-script, opens gdb. have possibility set unix environment-variables program before doing debug. call in batch:

plink.exe prevoax1 -l suttera -pw xxxxx -i /proj/user/dev/suttera/vl/9506/test/vlmi9506ddd.run 20155 dev o m 

in unix script started gdb command line params eclipse, found in former tryals. call in shell command looks this:

gdb -nw -i mi -cd=$lvarpathexec $lvarpathexec/vlmi9506 

then ibm gives gdb 6.0 aix. found version 6.8 in net @ http://www.perzl.org/aix/index.php?n=main.gdb. our admin installed it.

i can step through program , watch variables. can write gdb-commands directly in console-view. yabadabadooooooo

hope helps others well. can not tell, winner-action. each answer gives more new questions. got 3 of them.

  1. when start debug config have click restart in toolbar come in main procedure. possible come directly in main without restarting?
  2. on aix our programs first preprocessed embedded sql. preprocessed c-source put in directory. when duble-click line set breakpoint, warning "unresolved breakpoint" , in gdb-console see, break set preprocessed source wrong. possible set breakpoints on right source?
  3. we using cics on aix. xldb-debugger , cdcn-command of cics manage debugging started, when come in our programs. possible remotely (in plink) gdb-eclipse well?

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -