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/cli-decode.c: Remove unnecessary inclusion of tui/tui.h. 2013-10-01 23:52:45 +00:00
cli-decode.h
cli-dump.c
cli-interp.c Give every interpreter a command_loop_proc. 2013-09-06 08:53:09 +00:00
cli-logging.c
cli-script.c
cli-script.h
cli-setshow.c Constification of parse_linespec and fallout: 2013-10-02 00:46:07 +00:00
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