From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4893 invoked by alias); 7 Nov 2002 19:57:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4882 invoked from network); 7 Nov 2002 19:57:01 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 7 Nov 2002 19:57:01 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id F04F13CE1; Thu, 7 Nov 2002 14:56:56 -0500 (EST) Message-ID: <3DCAC588.6070407@redhat.com> Date: Thu, 07 Nov 2002 11:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Paul A. Clarke" Cc: Scott Moser , Jelmer Vernooij , Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [PATCH] plugin patch References: <20021106145415.GA2350@charis.vernstok> <20021106155151.GA2522@charis.vernstok> <3DC94DD8.10009@redhat.com> <1036623919.539.145.camel@pclarke> <3DC9AC44.2090209@redhat.com> <1036692161.539.213.camel@pclarke> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00190.txt.bz2 > On Wed, 2002-11-06 at 17:56, Andrew Cagney wrote: > >> > Just as an example, using Scott's plug-in enabling patch, I created a >> > plug-in which detects memory leaks and bad calls to free (any address >> > not previously returned by an allocation function). (I'd be happy to >> > share it with the list if anyone is interested.) One can >> > enable/suspend/resume/disable the detection logic at any time, and a >> > full report, including full backtraces is available. > >> >> Cool! Can you contribute it to the FSF so that it can be integrated >> into GDB? > > > I'd love to! The only issues, aside from paperwork, Great, sounds like a done deal! I'm sure, as a member of the FSF community, and a willing contributor, you'll get that paper work problem resolved in no time. > - it's based on Scott's plug-in enablement patch Trivial to fix. > - it currently only works on x86 (tested on GNU/Linux) Writing it correctly makes it portable. I'm sure, once you've got that paper work sorted, someone here will be willing to help you with the tweaks needed. After all, this is all part of being a memember of the FSF community. Andrew