Code:
gdb finfo
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging symbols found)...
(gdb) run /etc/rc.conf
Starting program: /usr/local/bin/finfo /etc/rc.conf
(no debugging symbols found)...(no debugging symbols found)...File : /etc/rc.conf
Type : Regular File
Inode : 23739
Modes : rw-r--r--
Links : 1
Size : 657 Bytes (0.64K) (0.00M)
Blocks: 4
Mt Ma : 000
Mt Mi : 0x0000005a
IO BS : 16384
Program received signal SIGSEGV, Segmentation fault.
0x0000000800838d87 in strlen () from /lib/libc.so.7
Code:
8.4-RELEASE-p3 FreeBSD 8.4-RELEASE-p3 #0 r255342 (amd64)
Thanks in advance.