Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 33d824304f379b92f105f1df2a54cf797ae86622..2066268be1ab5dcfb87642da179447ef0f6563b2 100644 (file)
@@ -1,3 +1,15 @@
+2016-12-02  Pedro Alves  <palves@redhat.com>
+
+       PR cli/20559
+       * NEWS: Mention "eval" expands user-defined command arguments.
+       * cli/cli-script.c (execute_control_command): Adjust to rename.
+       (insert_args): Rename to ...
+       (insert_user_defined_cmd_args): ... this, and make extern.
+       * cli/cli-script.h (insert_user_defined_cmd_args): New
+       declaration.
+       * printcmd.c: Include "cli/cli-script.h".
+       (eval_command): Call insert_user_defined_cmd_args.
+
 2016-12-02  Tom Tromey  <tom@tromey.com>
 
        PR symtab/16264:
This page took 0.02468 seconds and 4 git commands to generate.