This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix "set integer-command unlimited junk"


>>>>> "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


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