From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Michael Snyder <msnyder@vmware.com>,
Daniel Jacobowitz <drow@false.org>,
teawater <teawater@gmail.com>
Subject: Re: [RFA] Reverse Debugging, 2/5
Date: Mon, 06 Oct 2008 19:50:00 -0000 [thread overview]
Message-ID: <200810062049.55637.pedro@codesourcery.com> (raw)
In-Reply-To: <48E3CCE2.3000001@vmware.com>
On Wednesday 01 October 2008 20:17:54, Michael Snyder wrote:
> + /* TODO: check target for capability. */
Can we address this? If you want to be able to query for support,
it would be a matter of defining a new qSupported feature.
On Wednesday 01 October 2008 20:17:54, Michael Snyder wrote:
> - status->kind = TARGET_WAITKIND_STOPPED;
> - status->value.sig = TARGET_SIGNAL_0;
> + if (buf[1] == '0' && buf[2] == '6')
> + {
> + status->kind = TARGET_WAITKIND_NO_HISTORY;
> + }
> + else
> + {
> + status->kind = TARGET_WAITKIND_STOPPED;
> + status->value.sig = TARGET_SIGNAL_0;
> + }
This isn't really an error, it's a defined reply, so it
looks a bit strange to me to be using an error number.
Is there a reason this can't be reported with a T stop reply and
a special "register", like "library" -> TARGET_WAITKIND_LOADED is?
AFAICT, nothing else in the remote implementation relies
on defined error numbers currently --- annoying at times, but
doesn't seem to apply here.
+
+static enum exec_direction_kind remote_get_execdir (void)
Function name on the first column please.
+{
+ if (remote_debug && info_verbose)
+ printf_filtered ("remote execdir is %s\n",
+ remote_execdir == EXEC_FORWARD ? "forward" :
+ remote_execdir == EXEC_REVERSE ? "reverse" :
+ "unknown");
+ return remote_execdir;
+}
This should be made i18n aware.
Similarly in remote_set_execdir.
No new vCont packets -> no plans on reverse + multi-threading ? :-)
--
Pedro Alves
next prev parent reply other threads:[~2008-10-06 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-01 19:19 Michael Snyder
2008-10-06 19:50 ` Pedro Alves [this message]
2008-10-06 21:12 ` Michael Snyder
2008-10-06 21:24 ` Daniel Jacobowitz
2008-10-06 21:38 ` Michael Snyder
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=200810062049.55637.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=msnyder@vmware.com \
--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