Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: "Paul A. Clarke" <pac@us.ibm.com>
Cc: Scott Moser <ssmoser@us.ibm.com>,
	Jelmer Vernooij <jelmer@samba.org>,
	Eli Zaretskii <eliz@is.elta.co.il>,
	gdb-patches@sources.redhat.com
Subject: Re: [PATCH] plugin patch
Date: Wed, 06 Nov 2002 15:56:00 -0000	[thread overview]
Message-ID: <3DC9AC44.2090209@redhat.com> (raw)
In-Reply-To: <1036623919.539.145.camel@pclarke>

> 
> I agree that the above cons are reasonable expectations, but it would
> seem the same issues would arise regardless if the code is a plug-in or
> just code which is bolted on and rebuilt every time.  The maintenance
> issues are the same.  Indeed, if some bolted-on code is pulled into the
> GDB base, then the GDB team become obligated to either maintain it
> enough to get a successful build, or remove it entirely.  At least with
> a plug-in, the maintenance of the plug-in is the responsibility of the
> maintainter of the plug-in, not the GDB team.

If someone contributes a new module to GDB then, most likely, the 
contributor will become the maintainer - both the GDB user community and 
the GDB developer community benefit.

> (2) A long term MI objective is to define a set of interfaces that
> 
> both 
> 
>> MI and the CLI can use.  FernandoN made reference to this in responce
> 
> to 
> 
>> your original post.
> 
> 
> That's interesting, and I haven't heard about this before.  It sounds
> like these interfaces would then also be good candidates for a plug-in
> interface.  Would you agree?  Maybe we could help?

Per my other reply, this is simply ``good design'.

> 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?

Andrew



  reply	other threads:[~2002-11-06 23:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 14:01 Scott Moser
2002-10-28 22:28 ` Eli Zaretskii
2002-10-29  7:55   ` Paul A. Clarke
2002-11-06  6:45   ` Scott Moser
2002-11-06  6:56     ` Jelmer Vernooij
2002-11-06  7:13       ` Scott Moser
2002-11-06  7:54         ` Jelmer Vernooij
2002-11-06  9:14           ` Andrew Cagney
2002-11-06 15:07             ` Paul A. Clarke
2002-11-06 15:56               ` Andrew Cagney [this message]
2002-11-07 10:05                 ` Paul A. Clarke
2002-11-07 11:57                   ` Andrew Cagney
2002-11-07 13:10                   ` Klee Dienes
2002-11-06 15:56 ` Andrew Cagney
2002-11-06  7:47 Howell, David P
2002-11-06  7:55 ` Daniel Jacobowitz
2002-11-06 11:12 ` Andrew Cagney
2002-11-06 11:55   ` Paul A. Clarke
2002-11-06 12:29     ` Andrew Cagney

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=3DC9AC44.2090209@redhat.com \
    --to=ac131313@redhat.com \
    --cc=eliz@is.elta.co.il \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jelmer@samba.org \
    --cc=pac@us.ibm.com \
    --cc=ssmoser@us.ibm.com \
    /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