This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: implement "watch -location"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]