From: "Yaki Tebeka" <tebeka@gmail.com>
To: "Jim Blandy" <jimb@codesourcery.com>, gdb@sourceware.org
Subject: Re: Resuming a single suspended thread on Linux
Date: Mon, 15 Jan 2007 09:47:00 -0000 [thread overview]
Message-ID: <9560bc3b0701150147s793b9f97y44ba89fb6e72b350@mail.gmail.com> (raw)
In-Reply-To: <20070107233002.GA28520@nevyn.them.org>
Hi Daniel and Jim
I tried the suggested solution, but unfortunately, it does not seem to work.
I am running Fedora Core 5, 64 bit on an AMD processor.
After I call "set scheduler-locking on", and "continue", the entire
debugged process seem to remain freeze.
I tried setting my data collection thread as the active thread and
even setting the main thread as the active thread, but both options
does not seem to work.
Do you know if its a GDB bug, or an "expected behaviour" on Linux?
Can you suggest another solution to my problem?
Thanks
Yaki
On 1/8/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Sun, Jan 07, 2007 at 07:00:26PM +0200, Yaki Tebeka wrote:
> > Hi Jim
> >
> > Thanks for the suggested solution.
> >
> > I read the "set scheduler-locking" feature documentation few times
> > (http://sourceware.org/gdb/current/onlinedocs/gdb_6.html#IDX281) and I
> > must admit that I am not quite sure that I understand it correctly...
> >
> > One of it sentences says that the other threads are "completely free
> > to run when you use commands like `continue', `until', or `finish'".
> > If I understand this correctly, it will not help in my case.
> >
> > Please let me know if I didn't understand this mechanism correctly.
>
> That sentence only describes the behavior when you set it to "step".
> If you set it to "on", you can run just a single thread.
>
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
--
Yaki Tebeka
next prev parent reply other threads:[~2007-01-15 9:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-06 22:49 Yaki Tebeka
2007-01-07 14:59 ` Jim Blandy
2007-01-07 17:00 ` Yaki Tebeka
2007-01-07 23:30 ` Daniel Jacobowitz
2007-01-15 9:47 ` Yaki Tebeka [this message]
2007-01-16 7:20 ` Daniel Jacobowitz
2007-01-18 18:36 ` Jim Blandy
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=9560bc3b0701150147s793b9f97y44ba89fb6e72b350@mail.gmail.com \
--to=tebeka@gmail.com \
--cc=gdb@sourceware.org \
--cc=jimb@codesourcery.com \
/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