1
vote
Adding ltrace information to gdb
If you really want to use GDB to do this, the best option may be scripting it via its Python API.
Examples:
Automate Debugging with GDB Python API
finding a bug in one of 129 threads
Python Scripts ...
Only top scored, non community-wiki answers of a minimum length are eligible