This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gdb failing to import backtrace module
- From: Aidan Gauland <aidalgol at amuri dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 9 Sep 2014 01:04:40 +0000 (UTC)
- Subject: gdb failing to import backtrace module
- Authentication-results: sourceware.org; auth=none
I am trying to run a non-cygwin program in gdb, and when I enter the `run`
command, I get the following error.
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/bin/cyggobject-2.0-0.dll-gdb.py", line
9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace
gdb continues to run the program as expected, but the backtrace commands are
missing.
I tried reinstalling the Cygwin package "gdb" and rerunning, but the problem
persisted. Is this a problem with my Cygwin GDB installation, and if so,
how can I fix it?
Regards,
Aidan Gauland
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple