calling glibc mallinfo() from GDB after attaching to a process?

Andreas Schwab schwab@suse.de
Tue Aug 31 09:26:00 GMT 2004


"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."



More information about the Gdb mailing list