I don't know if this is a real bug, but I think that I have found a
way to crash gdb.

i102:~> cat test.C
void main(){
}; 

i102:~> g++ -g test.C
i102:~> gdb test
GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
Copyright 1998 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 "i486-pc-linux-gnu"...(no debugging symbols found)...
(gdb) r < nonexisting_file
nonexisting_file: No such file or directory.

Program exited with code 01.
You can't do that without a process to debug
(gdb) file test
No stack.
No stack.
(gdb) file test
Segmentation fault
Exit 139
i102:~> g++ --version
egcs-2.91.66
i102:~> 

Have a nice day and keep up the good work (:

-- 
 Niels L Ellegaard

http://dirac.ruc.dk/~gnalle/

Reply via email to