Executing a CLI command from Python

Paul Koning paulkoning@comcast.net
Wed Feb 15 21:50:24 GMT 2023


I looked through the Python GDB API documentation but didn't see this: is there a way for Python code to ask GDB to execute a command?

For example, I want to look up information about a kernel module (addresses etc.) then issue an "add-symbol-file" command using parameters constructed from what was looked up.

	paul



More information about the Gdb mailing list