From: Ulrich Drepper Date: Thu, 8 Oct 1998 17:00:12 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_0_98~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8261bc4b7fdcef1cd70adabeb1235e464070ca0e;p=thirdparty%2Fglibc.git Update. * malloc/mtrace.c (tr_reallochook): Produce better output for real reallocation case. --- diff --git a/ChangeLog b/ChangeLog index c2fbad4acdf..e8847129d06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1998-10-08 Ulrich Drepper + * 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 diff --git a/malloc/mtrace.c b/malloc/mtrace.c index 02da0ae764f..ec551ff49e6 100644 --- a/malloc/mtrace.c +++ b/malloc/mtrace.c @@ -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 ();