This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: memory allocation magic numbers in glibc
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: Re: memory allocation magic numbers in glibc
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 01 Sep 2000 09:49:58 -0700
- References: <m2snrkgv9h.fsf@dejima.jp.tlan>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
SL Baur <steve@turbolinux.co.jp> writes:
> Why does the following program give two different numbers depending
> upon how it is invoked?
Look at the addresses the objects are loaded. Run
cat /proc/<PID>/maps
while the program is still running.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------