(gdb) python print sys.argv Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'argv' Error while executing Python code.
Duplicate; also fixed. *** This bug has been marked as a duplicate of bug 13199 ***