I want to use python script in gdb, but I have some questions, how can I let these commands result redirected to my python script?
I mean, when I use "info f", in gdb, it will print the infomation about the ebp, eip infomation... For now I want to let these infomation do not show on the screen, but to redirect to variable.
For example, in my python script, there is a string called "str1", so I want str1=gdb.command("info f"), I try some ways to do, but the infomation will show on the screen, how can I remove it from screen, just store it in a string ?