You are not logged in.

#1 2014-03-22 06:07:38

DeletedUser210719
Banned
Registered: 2012-04-20
Posts: 68

GDB - Missing "--python" Parameter?

I was reading this blog post about GDB's python features and IPython, and I noticed the shebang for the "gdbipy" script is for "gdb --python".

I tried using "gdb --python", and also "-P", as I had read that this is equivalent elsewhere on Google earlier today, but GDB came back with:

gdb: unrecognized option '--python'
Use `gdb --help' for a complete list of options.

Might the extra/GDB (7.7-1) package not be recent enough to have this option?  I have a feeling this isn't it, since the blog post is over 2 years old now, but I'm not sure how often the GDB package is updated in the official repos.

Alternatively, should I look at compilation options?  I tried compiling from the ABS using the default options (which included an option directing to a python installation), so I have my doubts here as well, although I may have missed something.

Offline

Board footer

Powered by FluxBB