about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-03 00:47:34 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-03 00:47:34 +0530
commit00d28960c5388a582a0485e07629b553c32dde49 (patch)
tree99e29792b7e56e5311d9392426fbbf9d0e3ea545 /NEWS
parent7df5c7bcce5c3e6f6984441d9c4851dba5aacac5 (diff)
downloadglibc-00d28960c5388a582a0485e07629b553c32dde49.tar.gz
glibc-00d28960c5388a582a0485e07629b553c32dde49.tar.xz
glibc-00d28960c5388a582a0485e07629b553c32dde49.zip
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>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 60933bd975..8e72946c3f 100644
--- a/NEWS
+++ b/NEWS
@@ -93,6 +93,10 @@ Deprecated and removed features, and other changes affecting compatibility:
   package managers that delete removed files late during the package
   upgrade or downgrade process.
 
+* The symbols mallwatch and tr_break are now deprecated and no longer used in
+  mtrace.  Similar functionality can be achieved by using conditional
+  breakpoints within mtrace functions from within gdb.
+
 Changes to build and runtime requirements:
 
 * On Linux, the shm_open, sem_open, and related functions now expect the