Hello all, I was recently playing around with gdb. I do not use it much but I found that it had an apropos command. I hoped that apropos would make it quicker for me to find information about gdb's commands so I wouldn't have to go hunting in info. Turns out there is a bug in gdb on current where apropos causes gdb to dump core. I did not build my gdb with debugging symbols but the problem can be reproduced easily:
Script started on Sat Jun 28 18:38:10 2003 [101] [EMAIL PROTECTED]:~> gdb GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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 "i386-undermydesk-freebsd". (gdb) apropos REGEXP string is empty (gdb) apropos foo Segmentation fault (core dumped) [102] [EMAIL PROTECTED]:~> exit exit Script done on Sat Jun 28 18:38:23 2003 As you can see from the output the core dump only happens when a string is entered. This is from a world build from sources dated 6/28/03, but I also noticed it on a world from a week ago. regards, Galen Sampson __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"