public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/18299] New: exception when registering a global pretty-printer in verbose mode
@ 2015-04-22 19:00 dje at google dot com
  2015-04-22 19:54 ` [Bug python/18299] " dje at google dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2015-04-22 19:00 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18299

            Bug ID: 18299
           Summary: exception when registering a global pretty-printer in
                    verbose mode
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

This is a tracking bug for the patch posted here:

https://sourceware.org/ml/gdb-patches/2015-03/msg00312.html

It turns out there's a couple of other problems.
Patch and testcase to follow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/18299] exception when registering a global pretty-printer in verbose mode
  2015-04-22 19:00 [Bug python/18299] New: exception when registering a global pretty-printer in verbose mode dje at google dot com
@ 2015-04-22 19:54 ` dje at google dot com
  2015-04-29  5:17 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2015-04-22 19:54 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18299

--- Comment #1 from dje at google dot com ---
Patch posted here:

https://sourceware.org/ml/gdb-patches/2015-04/msg00837.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/18299] exception when registering a global pretty-printer in verbose mode
  2015-04-22 19:00 [Bug python/18299] New: exception when registering a global pretty-printer in verbose mode dje at google dot com
  2015-04-22 19:54 ` [Bug python/18299] " dje at google dot com
@ 2015-04-29  5:17 ` cvs-commit at gcc dot gnu.org
  2015-04-29  5:18 ` dje at google dot com
  2015-04-29  5:45 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-04-29  5:17 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18299

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Doug Evans <devans@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34f5f757b389e8fb3eab64f816e484c2cc434292

commit 34f5f757b389e8fb3eab64f816e484c2cc434292
Author: Doug Evans <dje@google.com>
Date:   Tue Apr 28 22:14:23 2015 -0700

    PR python/18299

    gdb/ChangeLog:

        PR python/18299
        * python/lib/gdb/printing.py (register_pretty_printer): Handle
        name or __name__ attributes.  Handle gdb module as first argument.

    gdb/testsuite/ChangeLog:

        * gdb.python/py-pp-maint.py: Move "replace" testing to ...
        * gdb.python/py-pp-registration.exp: ... here.  New file.
        * gdb.python/py-pp-registration.c: New file.
        * gdb.python/py-pp-registration.py: New file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/18299] exception when registering a global pretty-printer in verbose mode
  2015-04-22 19:00 [Bug python/18299] New: exception when registering a global pretty-printer in verbose mode dje at google dot com
  2015-04-22 19:54 ` [Bug python/18299] " dje at google dot com
  2015-04-29  5:17 ` cvs-commit at gcc dot gnu.org
@ 2015-04-29  5:18 ` dje at google dot com
  2015-04-29  5:45 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2015-04-29  5:18 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18299

dje at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from dje at google dot com ---
patch committed

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/18299] exception when registering a global pretty-printer in verbose mode
  2015-04-22 19:00 [Bug python/18299] New: exception when registering a global pretty-printer in verbose mode dje at google dot com
                   ` (2 preceding siblings ...)
  2015-04-29  5:18 ` dje at google dot com
@ 2015-04-29  5:45 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-04-29  5:45 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18299

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.9-branch branch has been updated by Doug Evans
<devans@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7d4281ee53df975135c132970e053a74bb18877a

commit 7d4281ee53df975135c132970e053a74bb18877a
Author: Doug Evans <dje@google.com>
Date:   Tue Apr 28 22:43:26 2015 -0700

    PR python/18299

    gdb/ChangeLog:

        PR python/18299
        * python/lib/gdb/printing.py (register_pretty_printer): Handle
        name or __name__ attributes.  Handle gdb module as first argument.

    gdb/testsuite/ChangeLog:

        * gdb.python/py-pp-maint.py: Move "replace" testing to ...
        * gdb.python/py-pp-registration.exp: ... here.  New file.
        * gdb.python/py-pp-registration.c: New file.
        * gdb.python/py-pp-registration.py: New file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2015-04-29  5:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 19:00 [Bug python/18299] New: exception when registering a global pretty-printer in verbose mode dje at google dot com
2015-04-22 19:54 ` [Bug python/18299] " dje at google dot com
2015-04-29  5:17 ` cvs-commit at gcc dot gnu.org
2015-04-29  5:18 ` dje at google dot com
2015-04-29  5:45 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).