[PATCH] fix thinko in pre/post hook help output

Pedro Alves pedro@codesourcery.com
Sat Aug 30 15:05:00 GMT 2008


On Saturday 30 August 2008 02:55:59, Doug Evans wrote:

> Oh bother.  I guess it can be interpreted that way.  Serves me right
> for assuming interpreting English is obvious.
> Reverted.

I'm very sorry, and it serves me right to learn to keep quiet.  :-(   Indeed,
it can be interpreted both ways.  It's the use of "This command"
possibly refering to a different command from the previous sentence
also using "This command", that makes it ambiguous, IMHO; but
the ':' may point out that it is refering to the following command.

How about we close this issue with changing the output to:

  This command has the following hook (or hooks) defined:
          The following command is run before: %s (pre hook)
          The following command is run after : %s (post hook)

?

-- 
Pedro Alves



More information about the Gdb-patches mailing list