From: Matt McCormick <matt@mmmccormick.com>
To: archer@sourceware.org
Cc: Matt McCormick <matt@mmmccormick.com>
Subject: [PATCH 1/3] [rfc][python] Create gdb.python package
Date: Thu, 31 Dec 2009 15:00:00 -0000 [thread overview]
Message-ID: <1262271582-23248-1-git-send-email-matt@mmmccormick.com> (raw)
A gdb.pretty Python package for holding code common for using Python
pretty-printers.
gdb/ChangeLog
2009-30-12 Matt McCormick <matt@mmmccormick.com>
* python/lib/gdb/pretty/__init__.py: New python package.
* Makefile.in: Install it.
---
gdb/Makefile.in | 3 ++-
gdb/python/lib/gdb/pretty/__init__.py | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
create mode 100644 gdb/python/lib/gdb/pretty/__init__.py
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ac3a4a0..80b4dbe 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2020,7 +2020,8 @@ PY_FILES = gdb/FrameIterator.py gdb/FrameWrapper.py gdb/command/alias.py \
gdb/command/pahole.py gdb/command/upto.py gdb/command/__init__.py \
gdb/command/ignore_errors.py gdb/command/save_breakpoints.py \
gdb/function/caller_is.py gdb/function/in_scope.py \
- gdb/function/__init__.py gdb/backtrace.py gdb/__init__.py
+ gdb/function/__init__.py gdb/pretty/__init__.py \
+ gdb/backtrace.py gdb/__init__.py
# Install the Python library. Python library files go under
# $(pythondir).
diff --git a/gdb/python/lib/gdb/pretty/__init__.py b/gdb/python/lib/gdb/pretty/__init__.py
new file mode 100644
index 0000000..be8a854
--- /dev/null
+++ b/gdb/python/lib/gdb/pretty/__init__.py
@@ -0,0 +1,16 @@
+# Package for code common to custom pretty-printers.
+
+# Copyright (C) 2009 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
--
1.6.6
next reply other threads:[~2009-12-31 15:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-31 15:00 Matt McCormick [this message]
2009-12-31 15:00 ` [PATCH 2/3] [python] Create gdb.pretty.register Matt McCormick
2009-12-31 15:00 ` [PATCH 3/3] [python] Create pretty-printer lookup_function classes Matt McCormick
2010-01-18 3:43 ` [PATCH 2/3] [python] Create gdb.pretty.register Matthew McCormick (thewtex)
2010-01-18 7:57 ` [PATCH 3/3] [python] Create pretty-printer lookup_function classes Matt McCormick
2010-01-18 7:57 ` [PATCH 2/3] [python] Create gdb.pretty.register Matt McCormick
2010-01-18 7:57 ` [PATCH 1/3] [python] Create gdb.pretty package Matt McCormick
2010-01-18 8:05 ` [Archer] " Joel Brobecker
2010-01-18 16:20 ` Matthew McCormick (thewtex)
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=1262271582-23248-1-git-send-email-matt@mmmccormick.com \
--to=matt@mmmccormick.com \
--cc=archer@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).