From: Phil Muldoon <pmuldoon@redhat.com>
To: Aleksey Midenkov <midenok@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: gobject.pyc: gdb was not built with custom backtrace support, disabling.
Date: Fri, 27 Jun 2014 15:25:00 -0000 [thread overview]
Message-ID: <53AD8CCE.6050500@redhat.com> (raw)
In-Reply-To: <CAF8BazDhVFs=kDda1awM5uVSxM=Bzg6VaKs6PtV+9Dy5JHEC0Q@mail.gmail.com>
On 27/06/14 16:18, Aleksey Midenkov wrote:
> On Fri, Jun 27, 2014 at 6:12 PM, Phil Muldoon <pmuldoon@redhat.com> wrote:
>> On 27/06/14 14:19, Aleksey Midenkov wrote:
>>> Hi!
>>>
>>> This message comes from /usr/share/glib-2.0/gdb/gobject.py. How this
>>> path is included into gdb? I want to remove it from processing.
>>
>> This is coming from the frame filter installed with that
>> package. Ideally a frame filter should print nothing if it cannot
>> process a stack-frame. You can remove it permanently from processing
>> by uninstalling the package that installs the frame filter (in Fedora's
>> case, that is glib-devel I think).
>>
>> Alternatively you can use the "disable frame-filter" command in GDB.
>>
>
> Do I have third option? I don't want to uninstall glib-devel and don't
> want to disable frame-filter. Can I exclude '/usr/share/glib-2.0/gdb'
> from processing? How GDB collects info on frame filters anyway? Do
> they register somewhere?
Frame filters, pretty printers etc all self register via auto
loading. In Fedora the auto-loading location is:
/usr/share/gdb/auto-load/
You will find the auto-load scripts for glib and others there. You
have many options, but this is not strictly a GDB issue so I can only
advise:
1) File a bug with glib noting the error message is distracting and
serves no purpose.
2) Edit the py file to delete the print.
3) Start GDB with gdb -ex "disable frame-filters all"
4) Edit the glib auto load files not to register the frame filter.
Cheers
Phil
next prev parent reply other threads:[~2014-06-27 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-27 13:19 Aleksey Midenkov
2014-06-27 14:52 ` Phil Muldoon
2014-06-27 15:19 ` Aleksey Midenkov
2014-06-27 15:25 ` Phil Muldoon [this message]
2014-06-27 15:39 ` Aleksey Midenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53AD8CCE.6050500@redhat.com \
--to=pmuldoon@redhat.com \
--cc=gdb@sourceware.org \
--cc=midenok@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox