From: Kevin Buettner <kev@primenet.com>
To: "jjs" <Jerry.Sexton@insignia.com>, <linuxppc-dev@lists.linuxppc.org>
Subject: Re: gdb and multi-threaded applications.
Date: Mon, 28 Feb 2000 11:42:37 -0700 [thread overview]
Message-ID: <1000228184237.ZM4016@saguaro.lan> (raw)
In-Reply-To: "jjs" <Jerry.Sexton@insignia.com> "Re: gdb and multi-threaded applications." (Feb 28, 3:31pm)
On Feb 28, 3:31pm, jjs wrote:
> >Would it be possible for you to print out the contents of set at this
> >point? (Go "up" a frame and do "print *set".)
> >
> >> at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
> >> #2 0x184aa88 in linux_child_wait (pid=-1, rpid=0x7fffe0f0,
> >> status=0x7fffe0f4)
> >> at linux-thread.c:1338
>
> (gdb) p *set
> $2 = {__val = {0 <repeats 32 times>}}
This looks okay.
> >And I'd like to see what linux_threads_block_mask is at this point too.
>
> (gdb) p linuxthreads_block_mask
> $3 = {__val = {0 <repeats 32 times>}}
This looks okay too.
> >Are you running a proprietary applicaton? If not, it may be useful at
> >some point for me to get a copy of it and try to reproduce the problems
> >you're seeing myself.
>
> Unfortunately, I am running a proprietory application.
[...]
> I tried running linux-dp under gdb and it works exactly as you describe, so
> there is no fundamental problem with gdb debugging a program that calls
> pthread_create.
In order for me to be able to go further on this problem, I'll need to
be able to reproduce it on my machine so that I can debug it. Could
you look at what your proprietary application is doing (with regard to
thread creation) and attempt to create a small program which illustrates
the problem?
Kevin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-02-28 18:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-28 15:31 gdb and multi-threaded applications jjs
2000-02-28 18:42 ` Kevin Buettner [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-03-15 10:18 jjs
2000-03-10 13:03 jjs
2000-03-10 21:32 ` Kevin Buettner
2000-03-13 13:05 ` Michael Snyder
2000-03-13 20:18 ` Michael Snyder
2000-02-26 12:38 jjs
2000-02-26 16:01 ` Kevin Buettner
2000-02-23 10:09 jjs
2000-02-23 12:27 ` Martin Costabel
2000-02-23 12:40 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1000228184237.ZM4016@saguaro.lan \
--to=kev@primenet.com \
--cc=Jerry.Sexton@insignia.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).