Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* calling glibc mallinfo() from GDB after attaching to a process?
@ 2004-08-31  2:09 Chris Markle
  2004-08-31  3:58 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Markle @ 2004-08-31  2:09 UTC (permalink / raw)
  To: gdb

Hi,

I would like to attach to a running program, issue a call to the glibc 
mallinfo() function, display the returned mallinfo structure, and the 
continue execution of the program. The idea here is to grab some malloc 
statistics from a running program... Is this kind of thing possible? If 
so, can someone offer up some clues as to the GDB commands to issue to 
do this?

Chris


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-31 17:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-31  2:09 calling glibc mallinfo() from GDB after attaching to a process? Chris Markle
2004-08-31  3:58 ` Eli Zaretskii
2004-08-31  5:25   ` Chris Markle
2004-08-31 15:20     ` Michael Chastain
2004-08-31 16:07       ` Chris Markle
2004-08-31 17:14         ` Michael Chastain
2004-08-31  9:26   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox