binutils-gdb/gdb/cli
Joel Brobecker b5be8ce022 New function cli-utils.c:extract_arg_const
This function provides the exact same functionality as extract_arg,
except that it takes a "const char**" instead of a "char **".
It allows us also to re-implement extract_arg almost as a simple
wrapper around the new function.

gdb/ChangeLog:

        Pedro Alves  <palves@redhat.com>
        Joel Brobecker  <brobecker@adacore.com>

        * cli/cli-utils.h (extract_arg_const): Add declaration.
        * cli/cli-utils.c (extract_arg_const): New function.
        (extract_arg): Reimplement using extract_arg_const.
2013-11-14 14:31:42 +04:00
..
cli-cmds.c warn if "source" fails to open the file when from_tty == 0 2013-10-11 08:23:11 +00:00
cli-cmds.h
cli-decode.c
cli-decode.h
cli-dump.c
cli-interp.c
cli-logging.c
cli-script.c
cli-script.h
cli-setshow.c
cli-setshow.h
cli-utils.c New function cli-utils.c:extract_arg_const 2013-11-14 14:31:42 +04:00
cli-utils.h New function cli-utils.c:extract_arg_const 2013-11-14 14:31:42 +04:00