delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/08/21:55:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=kxO
K8o22DqaI1PNrcGdG8alPdz6S5OkkUWWVrbI98lM45p8E3BzY79KRvFfH6Puz8i7
61c6EHPyT8SKqb7oUlD+3eKmD9ksgH/7JjFV5k3MX4sywivuJL+m+wNymJ5b/+El
sxB946adVSo2jWNFY1Zun0wIKZ9nNA3lA5KftYRM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=zjnSgIPhP
yawUWlFYfzjxnFkSJ8=; b=dC0HRtiPsD7agru/NUaCVaAYsg0fOUjagRQIKYwvP
wv7odyn487aGRjHFeETOFvvwRiDKNCFKkFm3+6o/APlu1xFZ1B+tKph6N8jgS8Kp
p+CQHRB7rla+NcTkO3UuZ5H5ZlmfTCIt3lpUpuLyc0+V1T1UHzNAcDJaZKHfL4co
iw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Aidan Gauland <aidalgol AT amuri DOT net>
Subject: gdb failing to import backtrace module
Date: Tue, 9 Sep 2014 01:04:40 +0000 (UTC)
Lines: 20
Message-ID: <loom.20140909T024353-201@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019