This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: gcc 3.1 and gdb 5.2?
- From: "Rob Taylor" <robt at flyingpig dot com>
- To: "Doug Warmke" <doug at ikos dot com>, <gcc at gnu dot org>
- Date: Wed, 12 Jun 2002 10:35:21 +0100
- Subject: RE: gcc 3.1 and gdb 5.2?
I've actually observed similar crashes with gdb5.2 and gcc 3.0.4! (specifically
the 20020401 cvs snaphot of gdb used by debian). Rewinding to 5.1.1 solved issue
for me.
Rob Taylor
> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org]On Behalf Of
> Doug Warmke
> Sent: Wednesday, June 12, 2002 6:06 AM
> To: gcc@gnu.org
> Subject: gcc 3.1 and gdb 5.2?
>
>
>
> GCC Team,
>
> We recently installed gcc 3.1 and have successfully built our tree.
> When we try to debug using gdb 5.2, we get a core dump whenever
> trying to set a breakpoint. This is occuring on both Solaris 7
> and Solaris 8. Our code is C++ (not C). A sample transcript
> is shown below.
>
> Are there any known issues using this combination of GNU tools?
> Do we have to enable any special configuration or compiler options?
> The only thing I found on gcc.gnu.org was that gdb 5.1.1 or higher
> is required for debugging gcc 3.1 compiled code.
>
> Thanks and regards,
> Doug Warmke
> (408) 284-8554
>
> > > > Sorry, but it is still seg-faulting when I try to set a breakpoint.
> > > >
> > > > jlo% /hq/scmtools/Test/SunOS5.8/bin/gdb shifter.mctsim
> > > > GNU gdb 5.2
> > > > 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 "sparc-sun-solaris2.8"...
> > > > (gdb) b main
> > > > Segmentation Fault
> > > > jlo%
>