Is there any implementation of a gdb client in python?
I have a gdb server for a built in target and I can connect to it using the gdb command line prompt. I would like to automate the client side. Instead of CLI automation (not very pretty and I'm on Windows) is there a Python GDB client implementation that would allow me to send commands to the server?
+3
source to share
1 answer
See https://bitbucket.org/minami/python-gdb-mi
Another approach is to just run your Python code directly in gdb. Currently gdb has built in Python scripts for several years.
+1
source to share