Hello,
I am asking this question again because even after reading some articles I
havent exactly understood what to do. So please help me out.
I want to know how the Eclipse Workbench UI communicates with the GNU debugger. What I mean is in the Eclipse for C/C++, when we press the step over or resume or continue buttons in the menu, what happens behind the scenes? As in how is the GNU gdb invoked? How does gdb know which function to execute? How does the UI communicate with gdb? I have added a custom function to the gdb(does not matter what the function is..) and I want to add a button to the Eclipse workbench such that pressing the button will call the gdb and that function in particular. I want to know how Eclipse workbench UI interacts with the GNU gdb. How do I go about doing this?
Thanks, Rohit