vanem
vanem

Reputation: 165

Is there any gdb client implementation in python?

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

Answers (1)

Tom Tromey
Tom Tromey

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

Related Questions