From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23950 invoked by alias); 27 May 2010 00:09:14 -0000 Received: (qmail 23922 invoked by uid 22791); 27 May 2010 00:09:11 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 May 2010 00:09:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7C4752BABF5 for ; Wed, 26 May 2010 20:09:03 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id l1tOgxwmsx61 for ; Wed, 26 May 2010 20:09:03 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 3AF022BABED for ; Wed, 26 May 2010 20:09:03 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E1F66F5916; Wed, 26 May 2010 17:08:51 -0700 (PDT) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Add support for the GDB Python Library Date: Thu, 27 May 2010 00:09:00 -0000 Message-Id: <1274918921-23200-1-git-send-email-brobecker@adacore.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-05/txt/msg00622.txt.bz2 Hello, One of the things that we still don't have in the FSF tree is a "GDB Python Library" - that is a collection of standard Python scripts that come with GDB. The idea is to help future contributions but setting things up so that it's easy to add new python-based commands/functions/ features, etc. This is what this couple of patches provide: - Patch #1: Defines a pythondir where the GDB Python library is expected to be found, and enhances the GDB/python support to look for them there. - Path #2: is built on top of patch #1, and provides the first such python patch. We selected one form project archer that might be useful: pahole.py.