This is the mail archive of the gcc@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]

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%



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