Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Define python hooks
@ 2014-10-25  9:08 nojhan
  2014-10-25 22:57 ` Doug Evans
  0 siblings, 1 reply; 8+ messages in thread
From: nojhan @ 2014-10-25  9:08 UTC (permalink / raw)
  To: gdb

Hello,

I'm currently using several of hook-* and hookpost-* functions with
shell commands.
I was wondering if there was a way to define such hooks in pure python.

For instance, I would like to import a module at startup and use it
across all the hooks to manipulate the output of the hooked commands.

--
nojhan


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

end of thread, other threads:[~2014-12-07 19:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-25  9:08 Define python hooks nojhan
2014-10-25 22:57 ` Doug Evans
2014-10-27  9:17   ` nojhan
2014-10-27 23:22     ` Doug Evans
2014-10-28 13:18       ` nojhan
2014-10-29 18:39         ` Doug Evans
2014-11-05 16:50           ` nojhan
2014-12-07 19:59             ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox