c:\msys\1.0\temp>gdb C:/Programme/GNU/Emacs/bin/emacs.exe gdb C:/Programme/GNU/Emacs/bin/emacs.exe GNU gdb (GDB) 7.4 Copyright (C) 2012 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 "i686-pc-mingw32". For bug reporting instructions, please see: ... Reading symbols from C:\Programme\GNU\Emacs\bin\emacs.exe...done. (gdb) break ralloc.c:352 Breakpoint 1 at 0x1172ef9: file ralloc.c, line 352. (gdb) break w32heap.c:194 Breakpoint 2 at 0x10a4035: file w32heap.c, line 194. (gdb) break w32heap.c:208 Breakpoint 3 at 0x10a407f: file w32heap.c, line 208. (gdb) run Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe [New Thread 4520.0x11d0] [New Thread 4520.0x344] [New Thread 4520.0x14b8] Breakpoint 2, sbrk (increment=-892928) at w32heap.c:200 (gdb) 200 w32heap.c: No such file or directory. continue Continuing. Breakpoint 3, sbrk (increment=-892928) at w32heap.c:211 211 in w32heap.c (gdb) continue Continuing. Breakpoint 2, sbrk (increment=-77824) at w32heap.c:200 200 in w32heap.c (gdb) continue Continuing. Breakpoint 3, sbrk (increment=-77824) at w32heap.c:211 211 in w32heap.c (gdb) continue Continuing. Breakpoint 2, sbrk (increment=-77824) at w32heap.c:200 200 in w32heap.c (gdb) continue Continuing. Breakpoint 3, sbrk (increment=-77824) at w32heap.c:211 211 in w32heap.c (gdb) continue Continuing. Breakpoint 2, sbrk (increment=-53248) at w32heap.c:200 200 in w32heap.c (gdb) continue Continuing. Breakpoint 3, sbrk (increment=-53248) at w32heap.c:211 211 in w32heap.c (gdb) continue Continuing. [New Thread 4520.0xf18] Breakpoint 2, sbrk (increment=-782336) at w32heap.c:200 200 in w32heap.c (gdb) print last_heap->end $1 = (POINTER) 0x3ea2000 (gdb) print last_heap->bloc_start $2 = (POINTER) 0x3e8c000 (gdb) print excess (gdb) No symbol "excess" in current context. (gdb) No symbol "excess" in current context. print sbrk(0) $3 = (void *) 0x3f61000 (gdb) xbacktrace (gdb) Undefined command: "xbacktrace". Try "help". (gdb) Undefined command: "xbacktrace". Try "help". print xbacktrace (gdb) No symbol "xbacktrace" in current context. source c:/Programme/GNU/installation/emacs-install/trunk.old2/src/.gdbinit Warning: c:\msys\1.0\temp/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = TERM = emacs Breakpoint 4 at 0x1001d29: file emacs.c, line 292. Temporary breakpoint 5 at 0x10c76ca: file sysdep.c, line 790. (gdb) xbacktrace "kill-buffer" (0x82e2b8) "byte-code" (0x82e3b8) "load-with-code-conversion" (0x82e610) "org-mode" (0x82ebe8) "set-auto-mode-0" (0x82ed58) "byte-code" (0x82ee68) "set-auto-mode" (0x82f070) "normal-mode" (0x82f398) "after-find-file" (0x82f518) "find-file-noselect-1" (0x82f688) "find-file-noselect" (0x82f818) "find-file" (0x82f998) "dired-find-file" (0x82fb24) "call-interactively" (0x82fc54) (gdb) print w32_last-error() (gdb) No symbol "w32_last" in current context. (gdb) No symbol "w32_last" in current context. (gdb) No symbol "w32_last" in current context. quit A debugging session is active. Inferior 1 [process 4520] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] c:\msys\1.0\temp> Process shell<2> finished