user997112
user997112

Reputation: 30615

GDB Error Installation error: gdb.execute_unwinders function is missing

I have suddenly started seeing this message on nearly every GDB output line whilst debugging:

Python Exception Installation error: gdb.execute_unwinders function is missing

What is this? How do I rectify it?

Upvotes: 14

Views: 14259

Answers (2)

jefe2000
jefe2000

Reputation: 406

This starting occurring for me after a yum update updated some Python 3.6 RPMs I had installed via a prior manual yum install. I can't quite figure out how the yum update is involved, because I can't connect the updated Python RPMs to the following files/directories. So, I suppose the yum update may be a red herring.

What I found, though, was the permissions need to be opened up on GDB-specific Python files in /usr/local/share:

[root@nacelle gdb]# cd /usr/local/share/
[root@nacelle share]# ls -ltrd gdb
drwxr-x---   5 root root 4096 Jul  3 09:56 gdb
[root@nacelle share]# chmod -R o+rx gdb/
[root@nacelle share]# ls -ltrd gdb
drwxr-xr-x   5 root root 4096 Jul

After opening up these permissions, the gdb/Python errors regarding missing functions went away.

Upvotes: 1

Kai Schuetz
Kai Schuetz

Reputation: 146

I have the same, with gdb 8.0.1 compiled on Ubunutu 14.04 LST. Turns out the installation misses the necessary Python files. One indication was that "make install" stopped complaining about makeinfo being missing - although I did not change any of the .texi sources.

My fix was to go into into the build area, into gdb/data-directory, and do "make install" once more, which installed the missing python scripts.

Must be some weird tool-bug somewhere.

Upvotes: 13

Related Questions