Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- May 2007
is it possible to call gdb commands from C process?
I usually debug my programs with gdb ( DDD ), and it works fine.
But now I would like to do same process with my own app.
Anybody known how to invoke gdb (or gdb commands ) from a C process?
is it possible
To the best of my knowledge, it's why you would want to set a breakpoint in your app/within gdb when you run your app within a gdb instance.
That way, you stop at the point where you need to test/check on your app to make sure everything is happening as expected. And, it gives you the gdb console to work with at that point.
HTH. Let us know.