This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Fwd: GDB/Python conflicts between HEAD and Fedora
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Kevin Pouget <kevin dot pouget at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 24 Oct 2012 11:17:31 -0400
- Subject: Re: Fwd: GDB/Python conflicts between HEAD and Fedora
- References: <CAPftXUKL9Qst0057rU9SVwiUp=otsVO_Y3h1KGNP+NVBYGVJ0w@mail.gmail.com> <CAPftXULQBNCg131rsFJQqOU3WpuhnWxKLSRwzwKoTVLdeTJ8fA@mail.gmail.com>
> > warning: Could not load the Python gdb module from `/usr/share/gdb/python'.
> >
> > warning: Limited Python support is available from the _gdb module.
This is the important clue. You need to install the GDB you built
in order for it to work properly. This was a recent change to the way
the gdb module is constructed, to make it more pythonic.
I am guessing that you configured GDB with the default --prefix,
and so it's finding the system ones from an older version of GDB.
If you're not going to install it in a system area, I'd configure
with a different prefix.
--
Joel