This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix "set integer-command unlimited junk"
On 6/13/19 1:31 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> gdb/ChangeLog:
> Pedro> 2019-06-13 Pedro Alves <palves@redhat.com>
>
> Pedro> * cli/cli-setshow.c (cli/cli-setshow.c): New parameter
> Pedro> 'expression'. When parsing an expression, error out if there's
> Pedro> junk after "unlimited".
> Pedro> (parse_cli_var_uinteger, parse_cli_var_zuinteger_unlimited)
> Pedro> (do_set_command): Adjust calls to is_unlimited_literal.
>
> Looks reasonable to me.
Great, thanks. I've merged it.
Thanks,
Pedro Alves