$ LC_ALL=C G_DEBUG="fatal_warnings" libtool --mode=execute gdb --args ./buzztrax-cmd --command=play --input-file=tests/songs/test-simple1.xml GNU gdb (GDB) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/rffontenelle/aur/buzztrax/src/buzztrax-0.10.2/.libs/lt-buzztrax-cmd...(no debugging symbols found)...done. (gdb) r Starting program: /home/rffontenelle/aur/buzztrax/src/buzztrax-0.10.2/.libs/lt-buzztrax-cmd --command=play --input-file=tests/songs/test-simple1.xml [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff1e49700 (LWP 27780)] [New Thread 0x7ffff1648700 (LWP 27781)] [New Thread 0x7ffff0c14700 (LWP 27782)] [New Thread 0x7fffe0211700 (LWP 27785)] [Thread 0x7fffe0211700 (LWP 27785) exited] [New Thread 0x7fffe0211700 (LWP 27787)] [Thread 0x7fffe0211700 (LWP 27787) exited] [New Thread 0x7fffe0211700 (LWP 27788)] [Thread 0x7fffe0211700 (LWP 27788) exited] [New Thread 0x7fffe0211700 (LWP 27789)] [New Thread 0x7fffda98d700 (LWP 27790)] [New Thread 0x7fffda18c700 (LWP 27791)] [New Thread 0x7fffd998b700 (LWP 27792)] 00:01.200 / 00:01.200 [Thread 0x7fffda18c700 (LWP 27791) exited] [Thread 0x7fffda98d700 (LWP 27790) exited] [Thread 0x7fffe0211700 (LWP 27789) exited] [Thread 0x7ffff1648700 (LWP 27781) exited] [Thread 0x7ffff1e49700 (LWP 27780) exited] [Thread 0x7ffff7f8d740 (LWP 27776) exited] [Thread 0x7ffff0c14700 (LWP 27782) exited] [Inferior 1 (process 27776) exited normally]