Regression for --batch [Re: [RFC] Make python/lib/gdb and submodules proper Python modules]

Jan Kratochvil
2012-09-14T05:48:25Z

Hi Yit,

On Thu, 13 Sep 2012 23:51:08 +0200, Khoo Yit Phang wrote:
> Thanks, I've checked in the patch.

$ ./gdb --batch
Python Exception <type 'exceptions.NameError'> name 'os' is not defined:

warning: Could not load the Python gdb module from `/usr/share/gdb/python'.

warning: Limited Python support is available from the _gdb module.

Regards,
Jan