[Patch:Doc] Example for -exec-arguments

Marc Khouzam marc.khouzam@ericsson.com
Fri Jun 6 13:24:00 GMT 2008


> -exec-arguments is just "set args" really.  The number of 
> such commands that
> could be created are almost limitless.  Note that this one 
> provides no output
> for the MI front end to parse and the CLI command could 
> easily be used.  I
> wonder if they are really needed and whether we should remove 
> them (or at least
> the ones which are unimplemented).

Now that you point this out, I realize we can use "-gdb-set args" right now.
Not only that, but -gdb-show args does works while -exec-show-arguments
does not.

I prefer to use -gdb-set since I can.

>  > > Also, the doc mentions -exec-show-arguments, but the actual
>  > > implementation in GDB is missing.  Should this be 
> written in the doc?
>  > 
>  > Yes, I think so.
> 
> That's what is written in the docs:
> 
>    Example
>    .......
>  
>    Example(s) formatted for readability.  Some of the 
> described commands
>    have not been implemented yet and these are labeled N.A. (not
>    available).

You are right.  I had seen the N.A. and thought that just the example was not
available, not the whole command.

Marc



More information about the Gdb-patches mailing list