This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] plugin patch


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]