This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: api to walk memory allocations
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>, David Malcolm <dmalcolm at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, Rich Felker <dalias at aerifal dot cx>, David Ahern <dsahern at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 31 Oct 2013 15:50:35 -0400
- Subject: Re: RFC: api to walk memory allocations
- Authentication-results: sourceware.org; auth=none
- References: <527188A3 dot 4000305 at gmail dot com> <20131031004120 dot GF20515 at brightrain dot aerifal dot cx> <87fvri41cd dot fsf at fleche dot redhat dot com> <CAAHN_R0QvQ5H-Si5pAYAYp6sK9yzu94xsC4hn6pGga-UGdqXtg at mail dot gmail dot com> <87wqkt325r dot fsf at fleche dot redhat dot com> <1383232710 dot 5282 dot 9 dot camel at surprise> <CAAHN_R28bMLpGrqNBpTgv6PT2tjN-q=bsmZuwdfYg42MYQHHZQ at mail dot gmail dot com>
On 10/31/2013 01:30 PM, Siddhesh Poyarekar wrote:
> On 31 October 2013 20:48, David Malcolm <dmalcolm@redhat.com> wrote:
>> Note that I still regard gdb-heap as an experimental prototype, and I
>> haven't touched it in a couple of years; there are a fair number of
>> rough edges in that code still.
>
> I think that should not be a problem. We need to get started
> somewhere and the gdb-heap code looks like a good place to do that.
> We could hash out the actual details of merging in once I'm back from
> my break in a couple of weeks. I don't mind doing the merge myself if
> you don't have the bandwidth to do it. That is of course assuming
> that there are no objections from the rest of the community to having
> a gdb/ or gdb-hooks/ directory with these scripts.
I have no objections. I think it's wise for glibc to ship supported gdb
python scripts that allow glibc to be debugged easier. Then gdb could
auto-load those scripts and the canned commands can be used by everyone.
Cheers,
Carlos.