This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]