Reputation: 165
I have a gdb server running for an embedded target and I can connect to it with the gdb command line CLI. I would like to automate the client part. Instead of automating the CLI (not very pretty, and I'm running on Windows), is there a python GDB client implementation that would allow me to send commands to the server?
Upvotes: 3
Views: 928
Reputation: 22519
See https://bitbucket.org/minami/python-gdb-mi
Another approach is to just run your Python code directly in gdb. gdb has had built-in Python scripting for a number of years now.
Upvotes: 1