Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Source a python script to gdb plugin?
@ 2008-08-07  7:40 Neo Jia
  2008-08-07 14:03 ` Tom Tromey
  0 siblings, 1 reply; 8+ messages in thread
From: Neo Jia @ 2008-08-07  7:40 UTC (permalink / raw)
  To: gdb ml

hi,

I am going to source the following script through gdb plugin, but it
doesn't work.

#!/usr/bin/python

from ctypes import *
cdll.LoadLibrary("libc.so.6")
libc = CDLL("libc.so.6")
libc.printf("%d\n", 100)

Any suggestions?

Thanks,
Neo

-- 
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!


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

end of thread, other threads:[~2008-08-07 19:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-07  7:40 Source a python script to gdb plugin? Neo Jia
2008-08-07 14:03 ` Tom Tromey
2008-08-07 17:01   ` Neo Jia
2008-08-07 17:08     ` Paul Pluzhnikov
2008-08-07 17:13       ` Tom Tromey
2008-08-07 19:09         ` Neo Jia
2008-08-07 19:17           ` Tom Tromey
2008-08-07 19:18             ` Neo Jia

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