This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS builds not working with Python?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]