From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 773 invoked by alias); 18 Jan 2010 07:57:11 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 763 invoked by uid 22791); 18 Jan 2010 07:57:10 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org From: Matt McCormick Subject: [PATCH 1/3] [python] Create gdb.pretty package. To: archer@sourceware.org Date: Mon, 18 Jan 2010 07:57:00 -0000 Message-ID: <20100118075659.2095.38559.stgit@localhost> In-Reply-To: References: User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-SW-Source: 2010-q1/txt/msg00018.txt.bz2 A gdb.pretty Python package for holding code common for using Python pretty-printers. gdb/ChangeLog 2009-30-12 Matt McCormick * 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 f450a7b..e9055b1 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2074,7 +2074,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/backtrace.py gdb/__init__.py \ + gdb/pretty/__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 .