CVS builds not working with Python?
Jan Kratochvil
jan.kratochvil@redhat.com
Mon Sep 17 16:38:00 GMT 2012
On Mon, 17 Sep 2012 18:24:13 +0200, Greg Law wrote:
> I can't seem to get a build of gdb from cvs to work properly with
> Python. When I start gdb I get a warning message, and an attempt to
> import gdb from Python generates an exception, like so:
It is because your system GDB Python scripts directory is too old for FSF GDB
HEAD as updated + analysed by Khoo Yit Phang.
Re: Regression for --batch [Re: [RFC] Make python/lib/gdb and submodules proper Python modules]
http://sourceware.org/ml/gdb-patches/2012-09/msg00266.html
http://sourceware.org/ml/gdb-patches/2012-09/txt00010.txt
Use:
$ ./gdb -data-directory ./data-directory
Regards,
Jan
More information about the Gdb
mailing list