public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gdb problem
@ 2008-12-28 14:12 Anna Sidera
  2008-12-28 22:16 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Anna Sidera @ 2008-12-28 14:12 UTC (permalink / raw)
  To: gcc-help

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)
3:22pm sidera@diana:>
3:23pm sidera@diana:>
3:23pm sidera@diana:>
3:23pm sidera@diana:>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gdb problem
  2008-12-28 14:12 gdb problem Anna Sidera
@ 2008-12-28 22:16 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2008-12-28 22:16 UTC (permalink / raw)
  To: Anna Sidera; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-28 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-28 14:12 gdb problem Anna Sidera
2008-12-28 22:16 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).