This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [patch] bugfix in gcc/.gdbinit


Jeffrey A Law <law@cygnus.com> writes:

>   In message <or7l8uv63b.fsf@guarana.lsd.ic.unicamp.br>you write:
>   > On Sep  2, 2000, Denis Chertykov <denisc@overta.ru> wrote:
>   > 
>   > > 	* .gdbinit: Change all occurrances of $ to $arg0.
>   > 
>   > Is the purpose of this patch to allow for, say:
>   > 
>   > pr foo
>   > 
>   > instead of the sequence
>   > 
>   > p foo
>   > pr
>   > 
>   > ?
>   > 
>   > I'm not sure it's a good idea to change the meaning of the existing
>   > commands.  The way to go is to define other commands that behave as
>   > you want.
> Agreed.

Oops. I was stupid. :-(

I can understand it now.

p foo <is `foo' have a normal value>
pr <if `foo' is a normal value>

IMHO: `prl' command is ugly.

Denis.


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