binutils-gdb/gdb/mi
Yao Qi 242f1fd7ee Add mi_getopt_allow_unknown
This patch is to add a new function mi_getopt_allow_unknown, which
returns -1 silently (without throwing error) when unknown option is
met, and use this function to parse options for command
'-stack-list-arguments'.

gdb/
	* mi/mi-cmd-stack.c (parse_no_frames_option): Remove.
	(mi_cmd_stack_list_args): Use mi_getopt_silent to handle
	options.
	* mi/mi-getopt.c (mi_getopt): Remove.
	(mi_getopt_1): Renamed from mi_getopt.  Add one parameter
	'error_on_unknown'.
	(mi_getopt): Call mi_getopt_1.
	(mi_getopt_silent): New.
	* mi/mi-getopt.h (mi_getopt_silent): Declare.
2013-08-27 03:04:45 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c 2013-07-19 Hui Zhu <hui@codesourcery.com> 2013-07-19 07:26:46 +00:00
mi-cmd-break.h
mi-cmd-catch.c
mi-cmd-disas.c
mi-cmd-env.c
mi-cmd-file.c
mi-cmd-info.c
mi-cmd-stack.c Add mi_getopt_allow_unknown 2013-08-27 03:04:45 +00:00
mi-cmd-target.c
mi-cmd-var.c gdb/ 2013-06-03 03:16:24 +00:00
mi-cmds.c gdb/ 2013-06-26 08:17:27 +00:00
mi-cmds.h gdb/ 2013-06-26 08:17:27 +00:00
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c Add mi_getopt_allow_unknown 2013-08-27 03:04:45 +00:00
mi-getopt.h Add mi_getopt_allow_unknown 2013-08-27 03:04:45 +00:00
mi-interp.c Remove duplicate call to add_file_handler. 2013-08-02 10:31:40 +00:00
mi-main.c Resue 'z' formatter from mi register display code. 2013-07-25 10:39:39 +00:00
mi-main.h
mi-out.c
mi-out.h
mi-parse.c add -Wold-style-declaration 2013-07-01 19:50:11 +00:00
mi-parse.h gdb/ 2013-06-03 03:16:24 +00:00
mi-symbol-cmds.c