Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gobject.pyc: gdb was not built with custom backtrace support, disabling.
@ 2014-06-27 13:19 Aleksey Midenkov
  2014-06-27 14:52 ` Phil Muldoon
  0 siblings, 1 reply; 5+ messages in thread
From: Aleksey Midenkov @ 2014-06-27 13:19 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gobject.pyc: gdb was not built with custom backtrace support, disabling.
  2014-06-27 13:19 gobject.pyc: gdb was not built with custom backtrace support, disabling Aleksey Midenkov
@ 2014-06-27 14:52 ` Phil Muldoon
  2014-06-27 15:19   ` Aleksey Midenkov
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Muldoon @ 2014-06-27 14:52 UTC (permalink / raw)
  To: Aleksey Midenkov, gdb

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.

Cheers

Phil



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gobject.pyc: gdb was not built with custom backtrace support, disabling.
  2014-06-27 14:52 ` Phil Muldoon
@ 2014-06-27 15:19   ` Aleksey Midenkov
  2014-06-27 15:25     ` Phil Muldoon
  0 siblings, 1 reply; 5+ messages in thread
From: Aleksey Midenkov @ 2014-06-27 15:19 UTC (permalink / raw)
  To: Phil Muldoon; +Cc: gdb

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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gobject.pyc: gdb was not built with custom backtrace support, disabling.
  2014-06-27 15:19   ` Aleksey Midenkov
@ 2014-06-27 15:25     ` Phil Muldoon
  2014-06-27 15:39       ` Aleksey Midenkov
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Muldoon @ 2014-06-27 15:25 UTC (permalink / raw)
  To: Aleksey Midenkov; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gobject.pyc: gdb was not built with custom backtrace support, disabling.
  2014-06-27 15:25     ` Phil Muldoon
@ 2014-06-27 15:39       ` Aleksey Midenkov
  0 siblings, 0 replies; 5+ messages in thread
From: Aleksey Midenkov @ 2014-06-27 15:39 UTC (permalink / raw)
  To: Phil Muldoon; +Cc: gdb

On Fri, Jun 27, 2014 at 7:25 PM, Phil Muldoon <pmuldoon@redhat.com> wrote:
> 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.
>

Yes, I like 4th option. Thanks!


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-27 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-27 13:19 gobject.pyc: gdb was not built with custom backtrace support, disabling Aleksey Midenkov
2014-06-27 14:52 ` Phil Muldoon
2014-06-27 15:19   ` Aleksey Midenkov
2014-06-27 15:25     ` Phil Muldoon
2014-06-27 15:39       ` Aleksey Midenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox