Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created September 6, 2013 02:37
Show Gist options
  • Save nddrylliog/6458873 to your computer and use it in GitHub Desktop.
Save nddrylliog/6458873 to your computer and use it in GitHub Desktop.
$ gdb --args ./exc2
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\MinGW\msys\1.0\home\amwenger\Dev\tests\exc2.exe...done.
(gdb) break abort
Breakpoint 1 at 0x4231c8
(gdb) r
Starting program: C:\MinGW\msys\1.0\home\amwenger\Dev\tests\exc2.exe
[New Thread 1180.0xf44]
Doing risky stuff?
Got an exception!
All fine.
Breakpoint 1, 0x75d78e76 in msvcrt!abort () from C:\Windows\syswow64\msvcrt.dll
(gdb) bt
#0 0x75d78e76 in msvcrt!abort () from C:\Windows\syswow64\msvcrt.dll
#1 0x6e956f62 in libgcc_s_dw2-1!__deregister_frame_info_bases () from C:\MinGW\bin\libgcc_s_dw2-1.dll
#2 0x00740ea8 in ?? ()
#3 0x75d1c3e9 in msvcrt!isspace () from C:\Windows\syswow64\msvcrt.dll
#4 0x75d236bb in msvcrt!exit () from C:\Windows\syswow64\msvcrt.dll
#5 0x00401537 in main (__argc205=1, __argv206=0x741810) at C:/MinGW/msys/1.0/home/amwenger/Dev/tests/exc2.ooc:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment