Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] How does CDT interact with GDB/MI interface?

Hi,
I'm developing a new debugger engine for CDT instead of gdb. So I want to know how dose CDT interact with GDB/MI interface. The structure of CDT is perfect, but it is too complex to be understood in short time. I have tried to trace into the source files of CDT when debugging run-time workbench. But after some steps, I was dazed by so many codes.
 
So, I hope somebody could give me a shortcut to solve this problem.
 
Maybe what I should know is how Java interatcts with C programme. It's a much easier question, but I have no idea about it.
When I launch a C program in a Java program, how can I control the C thread through Java? Can I call the functions of C program in Java?
 
Thanks in advance!
 
sincerely yours,
Felix

Back to the top