diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-03 00:47:34 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-03 00:47:34 +0530 |
commit | 00d28960c5388a582a0485e07629b553c32dde49 (patch) | |
tree | 99e29792b7e56e5311d9392426fbbf9d0e3ea545 /NEWS | |
parent | 7df5c7bcce5c3e6f6984441d9c4851dba5aacac5 (diff) | |
download | glibc-00d28960c5388a582a0485e07629b553c32dde49.zip glibc-00d28960c5388a582a0485e07629b553c32dde49.tar.gz glibc-00d28960c5388a582a0485e07629b553c32dde49.tar.bz2 |
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-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |