This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: RFC: api to walk memory allocations


>>>>> "Rich" == Rich Felker <dalias@aerifal.cx> writes:

Rich> Valgrind already does a great job with this kind of thing,
Rich> and gdb could do some similar work just by breakpointing malloc and
Rich> free and recording the calls.

It's already been done in gdb:

    https://fedorahosted.org/gdb-heap/

Tom


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