From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: target_create_inferior that does not call proceed
Date: Mon, 16 Jan 2006 21:01:00 -0000 [thread overview]
Message-ID: <20060116210154.GA13437@nevyn.them.org> (raw)
In-Reply-To: <200601162058.k0GKwdqv010416@elgar.sibelius.xs4all.nl>
On Mon, Jan 16, 2006 at 09:58:39PM +0100, Mark Kettenis wrote:
> > I'll be needing to run some additional common code fragments between
> > creating an inferior and starting it, for an upcoming project. Like most of
> > GDB they need the target to be stopped; that's why I separated the create
> > and proceed phases here.
>
> That's the reason why you created post_create_inferior? If yes, then,
> that answers the next question: Why did you introduce post_create_inferior?
That's right. The followup patch I posted today calls solib functions
from there. The followups I'll be working on later in the week will
hook the "target properties" and "available register sets" bits I
discussed on gdb@ (a long time ago now) into the same place.
> I vaguely remember there was a way to do that already, but when I last
> wanted to use it, I couldn't find a way to do it. So yes, I'd welcome
> such a command. Perhaps we could have something like:
>
> (gdb) set stop-on-entry 1
>
> after which "run" or "start" would stop at the entry point?
Hrm, I'm not a big fan of state variables, but at least that's clearer
than anything else I've thought of. I suppose we could also call the
command create-inferior :-)
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-01-16 21:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-16 20:02 Daniel Jacobowitz
2006-01-16 20:59 ` Mark Kettenis
2006-01-16 21:01 ` Daniel Jacobowitz [this message]
2006-01-21 11:22 ` Eli Zaretskii
2006-01-21 15:13 ` Daniel Jacobowitz
2006-01-24 19:16 ` Daniel Jacobowitz
2006-01-24 21:45 ` Eli Zaretskii
2006-01-24 22:09 ` 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=20060116210154.GA13437@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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