$ gdb /bin/sh UU/sh.exe.core GNU gdb (GDB) Cygwin 7.9.1-1 Copyright (C) 2015 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 /bin/sh...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New Thread 0x1288] [New Thread 0x2f38] /wip/cygport-git/gdb/gdb-7.9.1-1.x86_64/src/gdb-7.9.1/gdb/corelow.c:542: internal-error: get_core_register_section: Assertion `core_vec' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y This is a bug, please report it. For instructions, see: . /wip/cygport-git/gdb/gdb-7.9.1-1.x86_64/src/gdb-7.9.1/gdb/corelow.c:542: internal-error: get_core_register_section: Assertion `core_vec' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y *** starting debugger for pid 6248, tid 9044 *** continuing pid 6248 from debugger call (1) Aborted (core dumped)