views:

445

answers:

1

Hello,

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

+2  A: 
VonC
Thanks a lot VonC. This will surely help me. THanks again
@Rohit: You are welcome.
VonC