RFA: implement "watch -location"

Hui Zhu teawater@gmail.com
Thu Aug 12 02:45:00 GMT 2010


On Thu, Aug 12, 2010 at 06:15, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
>
> Michael> Syntax quibble.  "-location"?  Don't we traditionally use
> Michael> command option syntax such as "print /x"?  Hate to be
> Michael> inconsistant...
>
> I picked that because it is what Apple did.
>
> GDB itself is inconsistent.  The "/x" form is used (primarily? by
> formats), but the "-" form is used too, e.g. "file -readnow".
>
> Michael> Also, what about help?  Did I miss it?  I couldn't see it at a glance.
>
> Oops!  I'll fix this.  Thanks.
>
> Tom
>

Hi Tom,

This change is very cool.
I hate:
print &expr
watch *$
It is so uncool.

I am not sure about "-location" or "/x".  But if you choose
"-location", could you add a alias "-l"?

Thanks,
Hui



More information about the Gdb-patches mailing list