$ gdb --args git pull GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special) Copyright (C) 2013 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-cygwin". 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 /usr/bin/git...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/git pull [New Thread 6008.0x564] [New Thread 6008.0x1ba4] [New Thread 6008.0x14ac] [Thread 6008.0x14ac exited with code 0] [Thread 6008.0x1ba4 exited with code 0] [Inferior 1 (process 6008) exited normally] (gdb) quit