I'm trying to figure out parameters passed to a libc function, e.g
break XXX
command
printf "a=%p, b=%d ...\n", a, b
end
It's kinda lame, I had to write such thing for lots of functions.
Now I'm wondering if there's any helper script or any better way to see these functions in gdb? Just like how strace
works