This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problems with gdb on Solaris 8
On Sat, 2003-04-12 at 21:47, msnyder at redhat dot com wrote:
> > I'm having some problems with gdb 5.2.1 on Solaris when I compile my
> > applications with gcc 3.2. The symptoms are not the same as David's
> > ones, but I think this may be related. Here's a more precise situation :
> >
> > gcc 3.2 with -g option => I can debug with gdb 5.0 without problem, but
> > gdb5.2 is unusable (breakpoints put at the
> > wrong place for the most)
> >
> > gcc 3.2 with -gdwarf-2 => I can debug with gdb 5.2 !
> >
> > Unfortunately, I depend on libs which are compiled with -g, so I'm stuck
> > debugging with gdb 5.0... Is this a known issue ? Is there any solution
>
> It's not familiar to me, but sounds like a STABS problem.
> I'm not really up on my recent version history.
Is nobody else aware of this _very_ annoying issue ? It seems it's
really a GDB problem as gdb 5.0 copes well with the generated binaries,
our should this be reported to GCC ?
Regards,
--
Frédéric RISS <frederic dot riss at st dot com>
STMicroelectronics - DAIS