From: "Nathan J. Williams" <nathanw@wasabisystems.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sources.redhat.com
Subject: vCont [was Re: Multithreaded debugging: strange thread switches]
Date: Wed, 25 Jan 2006 00:04:00 -0000 [thread overview]
Message-ID: <mtuzmll8ak1.fsf_-_@contents-vnder-pressvre.mit.edu> (raw)
In-Reply-To: <20060123155240.GA16524@nevyn.them.org>
Daniel Jacobowitz <drow@false.org> writes:
> This, generally, is part of the problem. If you want this to work, you
> need to implement the vCont packet in the stub. The Hc1 packet is
> supposed to mean "step only thread 1, leaving thread 2 stopped", and
> that's not what the gdb "next" command is supposed to map to - that's
> "step this thread but leave other threads free-running".
Tangentially... I'm working on a stub for a system that doesn't have
hardware single-step; GDB knows that and doesn't try to issue any step
commands. However, the logic in remote.c that analyzes the response to
the vCont? packet refuses to use vCont unless it supports all of s, S,
c, and C. Is the best thing for my stub just to lie about supporting s
and S, and to rely on the knowledge that GDB won't try to use them?
- Nathan
next prev parent reply other threads:[~2006-01-24 23:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-23 15:46 Multithreaded debugging: strange thread switches Vladimir Prus
2006-01-23 16:02 ` Daniel Jacobowitz
2006-01-24 14:28 ` Vladimir Prus
2006-01-24 14:41 ` Daniel Jacobowitz
2006-01-24 14:44 ` Vladimir Prus
2006-01-24 16:16 ` Daniel Jacobowitz
2006-01-24 21:21 ` Eli Zaretskii
2006-01-25 0:04 ` Nathan J. Williams [this message]
2006-01-25 11:20 ` vCont [was Re: Multithreaded debugging: strange thread switches] Daniel Jacobowitz
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=mtuzmll8ak1.fsf_-_@contents-vnder-pressvre.mit.edu \
--to=nathanw@wasabisystems.com \
--cc=drow@false.org \
--cc=gdb@sources.redhat.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