gdb problem
Ian Lance Taylor
iant@google.com
Sun Dec 28 22:16:00 GMT 2008
Anna Sidera <eep6sa1@ucy.ac.cy> writes:
> I am trying to use gdb and I get the following error. I can not go to gdb prompt. Can you please advise?
>
> 3:19pm sidera@diana:>
> 3:19pm sidera@diana:>
> 3:19pm sidera@diana:>gcc -g -lm myprogram.c
> 3:22pm sidera@diana:>gdb a.out
> 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.8"...Bus error (core dumped)
I would try a newer version of gdb; your version is five years old.
If that doesn't help, ask on a gdb mailing list; see
http://sourceware.org/gdb . Certainly nothing that the compiler does
should cause gdb to crash.
Ian
More information about the Gcc-help
mailing list