public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/3] [rfc][python] Create gdb.python package
@ 2009-12-31 15:00 Matt McCormick
  2009-12-31 15:00 ` [PATCH 2/3] [python] Create gdb.pretty.register Matt McCormick
  0 siblings, 1 reply; 9+ messages in thread
From: Matt McCormick @ 2009-12-31 15:00 UTC (permalink / raw)
  To: archer; +Cc: Matt McCormick

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

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

end of thread, other threads:[~2010-01-18 16:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-31 15:00 [PATCH 1/3] [rfc][python] Create gdb.python package Matt McCormick
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)

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).