Chris Markle
2004-08-31 02:09:06 UTC
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
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