1
我打算从python启动gdb。如何从python启动交互式程序(如gdb)?
例如:
prog.shell.py:
#do lots of things
#
#
p.subprocess.Popen("gdb --args myprog", shell=True, stdin=sys.stdin, stdout=sys.stdout)
但GDB不调用如我所料,用gdb的交互中断。我也尝试过os.system(),但它仍然不起作用。我可能会做错什么?
你能解释一下什么是GBD? – 2009-05-22 01:42:20