From: Michael Snyder <msnyder@vmware.com>
To: teawater <teawater@gmail.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [reverse RFA] Reset after push_target
Date: Thu, 09 Oct 2008 03:04:00 -0000 [thread overview]
Message-ID: <48ED740F.6020901@vmware.com> (raw)
In-Reply-To: <daef60380810080052x3290351jd77ef67828d82536@mail.gmail.com>
Sounds good.
teawater wrote:
> Hi Michael,
>
> This patch make record_open reset after push_target because
> push_target will call record_close that use some reset variables.
>
> 2008-10-08 Hui Zhu <teawater@gmail.com>
>
> * record.c (record_open): Reset after push_target.
>
> Thanks,
> Hui
>
>
> ------------------------------------------------------------------------
>
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,7 @@
> +2008-10-08 Hui Zhu <teawater@gmail.com>
> +
> + * record.c (record_open): Reset after push_target.
> +
> 2008-10-07 Hui Zhu <teawater@gmail.com>
>
> * inflow.c (kill_command): Remove query special for
> --- a/record.c
> +++ b/record.c
> @@ -413,12 +413,12 @@ record_open (char *name, int from_tty)
> }
> }
>
> + push_target (&record_ops);
> +
> /* Reset */
> record_insn_num = 0;
> record_list = &record_first;
> record_list->next = NULL;
> -
> - push_target (&record_ops);
> }
>
> static void
prev parent reply other threads:[~2008-10-09 3:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 7:53 teawater
2008-10-09 3:04 ` Michael Snyder [this message]
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=48ED740F.6020901@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb-patches@sourceware.org \
--cc=teawater@gmail.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