This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: CVS builds not working with Python?
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Greg Law <gnu at greglaw dot net>
- Cc: gdb at sourceware dot org
- Date: Mon, 17 Sep 2012 18:37:54 +0200
- Subject: Re: CVS builds not working with Python?
- References: <50574EAD.3040504@greglaw.net>
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