mtrace: Deprecate mallwatch and tr_break
commit00d28960c5388a582a0485e07629b553c32dde49
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 2 Jul 2021 19:17:34 +0000 (3 00:47 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 2 Jul 2021 19:17:34 +0000 (3 00:47 +0530)
tree99e29792b7e56e5311d9392426fbbf9d0e3ea545
parent7df5c7bcce5c3e6f6984441d9c4851dba5aacac5
mtrace: Deprecate mallwatch and tr_break

The variable and function pair appear to provide a way for users to
set conditional breakpoints in mtrace when a specific address is
returned by the allocator.  This can be achieved by using conditional
breakpoints in gdb so it is redundant.  There is no documentation of
this interface in the manual either, so it appears to have been a hack
that got added to debug malloc.  Deprecate these symbols and do not
call tr_break anymore.

Reviewed-by: DJ Delorie <dj@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
NEWS
malloc/mtrace.c