82
I am looking for a way to do some action when a particular break point hits in gdb.
Basically I have some memleak in my program. When malloc and free function hits, I need to enter into the function (step) and collect some basic information like the addr and size (basically print there values). Once done resume my program.
Do we have any good way to do this?