This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/17364] Need better printer names in bound_registers.py
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 15 Oct 2014 20:24:49 +0000
- Subject: [Bug python/17364] Need better printer names in bound_registers.py
- Auto-submitted: auto-generated
- References: <bug-17364-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17364
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, gdb-7.8-branch has been updated
via 244fe82b9c6542557a1c2d4d21af1092692d377f (commit)
from a70c6d64c936f981640b8e3315ddadb141af7aad (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=244fe82b9c6542557a1c2d4d21af1092692d377f
commit 244fe82b9c6542557a1c2d4d21af1092692d377f
Author: Doug Evans <dje@google.com>
Date: Wed Oct 15 13:23:23 2014 -0700
PR python/17364
gdb/ChangeLog:
* python/lib/gdb/__init__.py (packages): Add "printer".
* python/lib/gdb/command/bound_registers.py: Moved to ...
* python/lib/gdb/printer/bound_registers.py: ... here.
Add printer to global set of builtin printers. Rename printer from
"bound" to "mpx_bound128".
* python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
registered as global "builtin" printer.
(add_builtin_pretty_printer): New function.
* data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
gdb/printer/__init__.py.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 15 ++++++++
gdb/data-directory/Makefile.in | 5 ++-
gdb/python/lib/gdb/__init__.py | 3 +-
gdb/python/lib/gdb/command/bound_registers.py | 45 -------------------------
gdb/python/lib/gdb/printer/__init__.py | 14 ++++++++
gdb/python/lib/gdb/printer/bound_registers.py | 36 ++++++++++++++++++++
gdb/python/lib/gdb/printing.py | 14 ++++++++
7 files changed, 84 insertions(+), 48 deletions(-)
delete mode 100644 gdb/python/lib/gdb/command/bound_registers.py
create mode 100644 gdb/python/lib/gdb/printer/__init__.py
create mode 100644 gdb/python/lib/gdb/printer/bound_registers.py
--
You are receiving this mail because:
You are on the CC list for the bug.