From: Yao Qi <qiyaoltc@gmail.com>
To: Pedro Alves <palves@redhat.com>
Cc: Yao Qi <qiyaoltc@gmail.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Bail out of processing stop if hook-stop resumes target / changes context
Date: Fri, 11 Sep 2015 14:56:00 -0000 [thread overview]
Message-ID: <86oah957k1.fsf@gmail.com> (raw)
In-Reply-To: <55F086B0.9040701@redhat.com> (Pedro Alves's message of "Wed, 09 Sep 2015 20:21:20 +0100")
Pedro Alves <palves@redhat.com> writes:
> We don't have infrastructure to run command lists like that. The
> hook-stop might involve several execution commands, for
> instance. See:
> https://sourceware.org/ml/gdb-patches/2011-09/msg00037.html
> And what motivated it:
> https://sourceware.org/ml/gdb-patches/2011-06/msg00158.html
Yeah, I didn't strongly believe we have such infrastructure, so I raised
that question.
>
> I don't currently see any real benefit in splitting interpreter
> command execution to a bigger and more complicated state machine
> like I was originally attempting. I've been thinking that longer
> term, it'd be simpler/saner if we split run control and the
> interpreter to separate threads. I actually have a prototype
It sounds natural to move interpreter and run control to separate
threads. It may be hard to convert single-threaded gdb to a
multi-threaded version. Note that I am not against this direction.
--
Yao (齐尧)
next prev parent reply other threads:[~2015-09-11 14:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 18:33 Pedro Alves
2015-08-19 8:22 ` Yao Qi
2015-08-25 15:48 ` Pedro Alves
2015-08-27 13:35 ` Yao Qi
2015-09-09 19:21 ` Pedro Alves
2015-09-11 14:56 ` Yao Qi [this message]
2015-09-14 14:50 ` Pedro Alves
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=86oah957k1.fsf@gmail.com \
--to=qiyaoltc@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).