This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Use of mcheck during GDB development
- From: Florian Weimer <fweimer at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 15 Nov 2016 17:00:45 +0100
- Subject: Use of mcheck during GDB development
- Authentication-results: sourceware.org; auth=none
We need to get rid of the mcheck functionality in glibc because we
really, really want to stop calling the malloc hook functions.
A future glibc version will provide a lightweight heap checker, with
functionality comparable to mcheck (but thread-safe!) as linkable and
LD_PRELOAD-able (perhaps under a different name than libmcheck).
How critical is the mcheck functionality to GDB development? Would it
be a problem if next glibc release would issue a deprecation warning
without actually having a suitable replacement in-tree?
I want to get the deprecation notice out as soon as possible, but I
might not be able to finish the mcheck replacement in time for the next
glibc release.
Thanks,
Florian