rendered paste body
$ gdb ./Nonsep.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) r
Starting program: /cygdrive/d/code/cs182/HW5-Nonsep/Nonsep.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
*****PROGRAM OUTPUT HERE**********
exiting function...
6 [sig] Nonsep 3588 open_stackdumpfile: Dumping stack trace to Nonsep.exe.
stackdump
Program exited with code 0103000.
(gdb) q
$ cat *stackdump
Stack trace:
Frame Function Args
0023C228 7C802532 (000006DC, 0000EA60, 000000A4, 0023C270)
0023C348 6109773C (00000000, 7C8025F0, 7C802532, 000000A4)
0023C438 610952BB (00000000, 003B0023, 00230000, 00000000)
0023C498 6109579B (0023C4B0, 00000000, 00000094, 610A0EAA)
0023C558 61095952 (00000E04, 00000006, 0023C588, 61095B52)
0023C568 6109597C (00000006, 600301DC, 0023C648, 0023C550)
0023C588 61095B52 (0023C5D0, 0023C950, 0023C5B8, 00415391)
0023C5E8 610C36F8 (0023C640, 006E4610, 00000008, 6105744C)
0023C668 004344CD (0023C950, 006E4610, 00000008, 00441E3F)
0023C6C8 00434880 (0023C950, 0023C730, 0023C7E8, 0040F78F)
0023C758 0043EBCF (0023C950, 00410D10, 0023CAD8, 00412990)
0023C768 0043EC55 (0023C950, 00441854, 00000000, 00000012)
0023CAD8 00412990 (0023CB60, 00000012, 00000013, 00401181)
0023CCA8 0040136D (00000001, 006E3578, 006E0090, 60030000)
0023CD98 61006198 (00000000, 0023CDD0, 61005510, 0023CDD0)
61005510 61004416 (0000009C, A02404C7, E8611001, FFFFFF48)
End of stack trace (more stack frames may be present)