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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=NEqmnd5DpJlaH9rtu34EucnwkeNIsT2Ip34DQLCaXIo n0eURqXplnpvpPaFTbB5qww6m6QQczt7OmCgmF2z3qefIVr2M7BDEnFBTjeJVksI IqUARvdAJ6206I2eELl4UI4mNKL+AsCiB7TIZyJ+2texpzq58loTciz58VTeuCi0 = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=nVs/TwZ85db06f5G19XAyeh7BhE=; b=XYoQ/G9dwkpHmUII+ jYrjfwG+dNCiDV8IxLLJeUGkHVhE22O8C3qQz9lb6BrxnLYnxyOFc9VbpW0sLpja uP15vncU2ECz7CdO58pvSn6xEatSA32Coqw3tY0BmSug4nvoM5O7ADUpJMfdskXe 8v4IsOthyQnvHNceNezYF9rl60= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <54134C18.9090900@cygwin.com> Date: Fri, 12 Sep 2014 14:40:08 -0500 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gdb failing to import backtrace module References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2014-09-08 20:04, Aidan Gauland wrote: > 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 > from gobject import register > File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in > 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? This is actually an upstream issue due to an API change in gdb-7.7: https://bugzilla.gnome.org/show_bug.cgi?id=623552 I'm building a glib2.0 update now that includes the latest upstream changes for the gdb scripts, which should fix this error message. HTH, Yaakov -- 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