Re: [PATCH 0/2] Support the new PPC476 processor

Joel Brobecker
2009-12-20T12:33:46Z

> > - Usage example: watch-range &i,&k / awatch-range 0xbffff8e8,0xbffff8f8 /
> > rwatch-range 0xbffff8e8,+8
>
> Why is there a need for a separate GDB command? What are the
> use-cases where the user would want to watch a region that is spanned
> by more than one (albeit large) variable? If such use-cases are
> infrequent enough or obscure, then we could simply use the normal
> watch commands, and support any corner use-cases with something like
>
> watch *0xbffff8e8@8

FWIW, I actually prefer the seperate command over your suggestion.
The use of the @8 seems logical, but '@' is little known and the
new command seems more explicit about the actual range being watched.

--
Joel