I am getting the below error when tried to use gdb for debugging python extensions code .I created gdbinit file in my home directory copied gdbinit file from MISC/gdbinit
(gdb) source gdbinit
(gdb) python
Undefined command: "python". Try "help".
I don't know where i am going wrong .I have gdb6.3 version .
pdbto debug python code .. docs.python.org/library/pdb.html