That way, you're calling a function in your program instead of
a shared library, and the function returns an int rather than
a struct. Both of these things make gdb work better, and avoid
errors like this:
(gdb) print mallinfo()
Program received signal SIGSEGV, Segmentation fault.
0x4207512d in mallinfo () from /lib/i686/libc.so.6
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on"
Evaluation of the expression containing the function (mallinfo) will be abandoned.