Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
		Daniel Jacobowitz <drow@false.org>,
		Pedro Alves <pedro@codesourcery.com>,
	teawater <teawater@gmail.com>
Subject: Re: [RFA] Reverse Debugging, 5/5
Date: Tue, 07 Oct 2008 03:30:00 -0000	[thread overview]
Message-ID: <20081007032955.GC28138@adacore.com> (raw)
In-Reply-To: <48E3CD66.9020600@vmware.com>

I think that the implementation of this file will change slightly based
on the outcome of some of the discussions we had with the previous
patch.  But I noticed a few little things in addition to what Eli
already said.

> +   Copyright (C) 2006 Free Software Foundation, Inc.

The copyright date should include 2008.

> +   (returns error unles target implements to_set_execdir method).  */
                     ^^^^^
                     unless
> +static void
> +exec_reverse_once (char *cmd, char *args, int from_tty)

This function needs a comment describing what it does.  I was almost
at the end of the function before I understood its purpose.

> +  add_setshow_enum_cmd ("exec-direction", class_run, exec_direction_names,
> +			&exec_direction, "Set direction of execution.\n\
> +Options are 'forward' or 'reverse'.",
> +			"Show direction of execution (forward/reverse).",
> +			"Tells gdb whether to execute forward or backward.",
> +			set_exec_direction_func, show_exec_direction_func,
> +			&setlist, &showlist);

Minor nit: i18n.

-- 
Joel


  parent reply	other threads:[~2008-10-07  3:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 19:21 Michael Snyder
2008-10-02 19:49 ` Eli Zaretskii
2008-10-02 21:42   ` Michael Snyder
2008-10-03  6:30     ` Eli Zaretskii
2008-10-03 18:07       ` Michael Snyder
2008-10-04  8:13         ` Eli Zaretskii
2008-10-04 17:56           ` Michael Snyder
2008-10-02 22:43   ` Michael Snyder
2008-10-03  6:35     ` Eli Zaretskii
2008-10-02 22:54   ` Michael Snyder
2008-10-03  6:25     ` Eli Zaretskii
2008-10-03 17:45       ` Daniel Jacobowitz
2008-10-03 17:58       ` Michael Snyder
2008-10-07  3:30 ` Joel Brobecker [this message]
2008-10-07 18:25   ` 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=20081007032955.GC28138@adacore.com \
    --to=brobecker@adacore.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@vmware.com \
    --cc=pedro@codesourcery.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