This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: calling glibc mallinfo() from GDB after attaching to a process?
- From: Andreas Schwab <schwab at suse dot de>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Chris Markle <cmarkle at sendmail dot com>, gdb at sources dot redhat dot com
- Date: Tue, 31 Aug 2004 11:26:17 +0200
- Subject: Re: calling glibc mallinfo() from GDB after attaching to a process?
- References: <4133DDC2.3040403@sendmail.com><01c48f0e$Blat.v2.2.2$c9e5a100@zahav.net.il>
"Eli Zaretskii" <eliz@gnu.org> writes:
> After attaching to the program, use the command
>
> call mallinfo
call mallinfo()
(call is the same as print, except when the expression does not return a
value.)
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."