public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Executing a CLI command from Python
@ 2023-02-15 21:50 Paul Koning
  2023-02-15 22:25 ` Jan Vrany
  2023-03-03  9:01 ` anix
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Koning @ 2023-02-15 21:50 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-03  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15 21:50 Executing a CLI command from Python Paul Koning
2023-02-15 22:25 ` Jan Vrany
2023-02-16  0:29   ` Paul Koning
2023-03-03  9:01 ` anix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).