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"
- From: Tom Tromey <tom at tromey dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 13 Jun 2019 06:31:01 -0600
- Subject: Re: [PATCH] Fix "set integer-command unlimited junk"
- References: <20190613084505.13786-1-palves@redhat.com>
>>>>> "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.
Tom