From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 0/1] Threaded Watchpoints
Date: Mon, 10 Sep 2007 18:54:00 -0000 [thread overview]
Message-ID: <20070910185427.GA20125@caradoc.them.org> (raw)
In-Reply-To: <200709101844.l8AIiMG3031265@d12av02.megacenter.de.ibm.com>
On Mon, Sep 10, 2007 at 08:44:22PM +0200, Ulrich Weigand wrote:
> I guess your new way makes more sense. This means we can remove
> HAVE_CONTINUABLE_WATCHPOINTS completely, though. (As a related
> point, I think it would be good to fix the oddity that nonsteppable
> watchpoints are reported as a gdbarch property while steppable
> watchpoints are reported as a target property ...)
I totally agree. I just don't know which one makes more sense.
Probably gdbarch but I'm sure I'll break something if I try to
change it.
> > > This assumes that the new thread's ptid will always be passed to the
> > > resume. Is this necessarily the case? I would expect ptid to be -1
> > > in most cases ...
> >
> > It is necessarily the case. This function is never called through
> > target_resume, only through linux_nat_resume. This was one of the big
> > cleanups that made my patch possible.
>
> Hmm, I see. This assumes that after every new-thread event, the new
> thread is selected as inferior_ptid, though.
I don't think it assumes that. s390_resume should be called once for
each thread, and not depend on inferior_ptid at all; only
linux_nat_resume has to check for ptid == -1, schedlocking, et cetera.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-09-10 18:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 13:51 Luis Machado
2007-08-20 17:33 ` Luis Machado
2007-08-20 17:40 ` Luis Machado
2007-09-05 2:04 ` Daniel Jacobowitz
2007-09-05 12:31 ` Luis Machado
2007-09-10 0:21 ` Daniel Jacobowitz
2007-09-10 15:34 ` Luis Machado
2007-09-10 15:44 ` Daniel Jacobowitz
2007-09-10 17:56 ` Luis Machado
2007-09-10 18:30 ` Daniel Jacobowitz
2007-09-10 18:23 ` Ulrich Weigand
2007-09-10 18:29 ` Daniel Jacobowitz
2007-09-10 18:44 ` Ulrich Weigand
2007-09-10 18:54 ` Daniel Jacobowitz [this message]
2007-09-10 19:03 ` Ulrich Weigand
2007-09-10 19:12 ` Daniel Jacobowitz
2007-09-10 19:31 ` Mark Kettenis
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=20070910185427.GA20125@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.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