On Fri May 11 15:54 , 'James G. Sack (jim)' <[EMAIL PROTECTED]> sent:
>James G. Sack (jim) wrote: >> >> gdb attach PID >> > generate-core-file /tmp/coredump > >And here's another way > >cd /tmp >gcore PID > >This creates a file core.PID >Note: all along, 'PID' is the _pid number_ of your email client, eh? > >(Also NOTE: The dump may be 50 MB -- substiture someplace else for /tmp, >as might be appropriate for your system.) > >If you don't have gdb, you won't have gcore, either. >You would need to install the gdb package. > >Regards, >..jim I downloaded it, unpacked it, ./configure, and make. But the output was extensive and the ending doesn't look promising: In file included from .././gdb/tui/tui-command.c:28: ./tui/tui-data.h:40: error: syntax error before ‘WINDOW’ ./tui/tui-data.h:40: warning: no semicolon at end of struct or union ./tui/tui-data.h:52: error: syntax error before ‘}’ token ./tui/tui-data.h:228: error: field ‘data_window’ has incomplete type ./tui/tui-data.h:282: error: field ‘generic’ has incomplete type In file included from .././gdb/tui/tui-command.c:29: ./tui/tui-win.h:42: error: syntax error before ‘tui_border_ulcorner’ ./tui/tui-win.h:42: warning: type defaults to ‘int’ in declaration of ‘tui_border_ulcorner’ ./tui/tui-win.h:42: warning: data definition has no type or storage class ./tui/tui-win.h:43: error: syntax error before ‘tui_border_urcorner’ ./tui/tui-win.h:43: warning: type defaults to ‘int’ in declaration of ‘tui_border_urcorner’ ./tui/tui-win.h:43: warning: data definition has no type or storage class ./tui/tui-win.h:44: error: syntax error before ‘tui_border_lrcorner’ ./tui/tui-win.h:44: warning: type defaults to ‘int’ in declaration of ‘tui_border_lrcorner’ ./tui/tui-win.h:44: warning: data definition has no type or storage class ./tui/tui-win.h:45: error: syntax error before ‘tui_border_llcorner’ ./tui/tui-win.h:45: warning: type defaults to ‘int’ in declaration of ‘tui_border_llcorner’ ./tui/tui-win.h:45: warning: data definition has no type or storage class ./tui/tui-win.h:46: error: syntax error before ‘tui_border_vline’ ./tui/tui-win.h:46: warning: type defaults to ‘int’ in declaration of ‘tui_border_vline’ ./tui/tui-win.h:46: warning: data definition has no type or storage class ./tui/tui-win.h:47: error: syntax error before ‘tui_border_hline’ ./tui/tui-win.h:47: warning: type defaults to ‘int’ in declaration of ‘tui_border_hline’ ./tui/tui-win.h:47: warning: data definition has no type or storage class .././gdb/tui/tui-command.c: In function ‘tui_dispatch_ctrl_char’: .././gdb/tui/tui-command.c:80: error: ‘WINDOW’ undeclared (first use in this function) .././gdb/tui/tui-command.c:80: error: (Each undeclared identifier is reported only once .././gdb/tui/tui-command.c:80: error: for each function it appears in.) .././gdb/tui/tui-command.c:80: error: ‘w’ undeclared (first use in this function) .././gdb/tui/tui-command.c:85: warning: implicit declaration of function ‘wgetch’ .././gdb/tui/tui-command.c:86: error: ‘ERR’ undeclared (first use in this function) .././gdb/tui/tui-command.c:93: error: ‘KEY_PPAGE’ undeclared (first use in this function) .././gdb/tui/tui-command.c:95: error: ‘KEY_NPAGE’ undeclared (first use in this function) .././gdb/tui/tui-command.c:113: error: ‘KEY_DOWN’ undeclared (first use in this function) .././gdb/tui/tui-command.c:114: error: ‘KEY_SF’ undeclared (first use in this function) .././gdb/tui/tui-command.c:117: error: ‘KEY_UP’ undeclared (first use in this function) .././gdb/tui/tui-command.c:118: error: ‘KEY_SR’ undeclared (first use in this function) .././gdb/tui/tui-command.c:121: error: ‘KEY_RIGHT’ undeclared (first use in this function) .././gdb/tui/tui-command.c:124: error: ‘KEY_LEFT’ undeclared (first use in this function) make[2]: *** [tui-command.o] Error 1 make[2]: Leaving directory `/download/gnuDeBugger/gdb-6.6/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/download/gnuDeBugger/gdb-6.6' make: *** [all] Error 2 Does this mean, it didn't configure or make properly? ---- Msg sent via CWNet - http://www.cwnet.com/ -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
