mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
* malloc/mtrace.c (tr_reallochook): Produce better output for real reallocation case.
This commit is contained in:
parent
16e866fa93
commit
8261bc4b7f
@ -1,5 +1,8 @@
|
||||
1998-10-08 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* malloc/mtrace.c (tr_reallochook): Produce better output for real
|
||||
reallocation case.
|
||||
|
||||
* signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
|
||||
|
@ -204,8 +204,11 @@ tr_reallochook (ptr, size, caller)
|
||||
else if (ptr == NULL)
|
||||
fprintf (mallstream, "+ %p %#lx\n", hdr, (unsigned long int) size);
|
||||
else
|
||||
fprintf (mallstream, "< %p\n> %p %#lx\n", ptr, hdr,
|
||||
(unsigned long int) size);
|
||||
{
|
||||
fprintf (mallstream, "< %p\n", ptr);
|
||||
tr_where (caller);
|
||||
fprintf (mallstream, "> %p %#lx\n", hdr, (unsigned long int) size);
|
||||
}
|
||||
|
||||
if (hdr == mallwatch)
|
||||
tr_break ();
|
||||
|
Loading…
Reference in New Issue
Block a user