This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: SIG32/SIGTRAP issues
On Tue, Dec 03, 2002 at 03:30:51PM -0800, H. J. Lu wrote:
> On Tue, Dec 03, 2002 at 06:24:57PM -0500, Daniel Jacobowitz wrote:
> > On Tue, Dec 03, 2002 at 06:56:20PM -0500, Paul Mundt wrote:
> > > Hi,
> > >
> > > I seem to be running into a bit of an odd problem. When I have a
> > > threaded application thats shared, everything works fine .. in the event
> > > that the application is statically linked however, gdb gets a SIG32 at
> > > pthread_create() time and doesn't track the threads properly.
> >
> > Funny, no one reports this for months and this is the third report I've
> > seen in a week... At the bottom of this message is a workaround. I'm
> > not proposing it be committed, since it's obviously pretty gross. The
> > real issue is the concept of thread_stratum and core_stratum as
> > separate from process_stratum. I don't think it's appropriate - if we
> > are debugging a core and process at the same time this isn't how it
> > should work. This ties in to all the make-targets-a-real-stack thing -
> > I'm not entirely convinced on that score either.
> >
>
> You can also try
>
> ftp://ftp.linux-mips.org/pub/linux/mips/redhat/7.3/SRPMS/gdb-5.2.90-0.2.src.rpm
>
> I tried to fix it and it seems to work for me.
FTP's still down. Mind posting the patch?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer