bash-3.00# /usr/local/bin/gdb /foo/myprogram /foo/core
GNU gdb 6.0
Copyright 2003 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 "sparc-sun-solaris2.9"...
Core was generated by `/foo/dagent'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libsocket.so.1...done.
Bus Error (core dumped)
bash-3.00#
At least it generated a core file.... Next stop:
bash-3.00# /usr/local/bin/gdb /usr/local/bin/gdb ./core