Tom Tromey
56bcdbea2b
Let gdb.execute handle multi-line commands
This changes the Python API so that gdb.execute can now handle
multi-line commands, like "commands" or "define".
ChangeLog
2018-05-04 Tom Tromey <tom@tromey.com>
PR python/22730:
* NEWS: Mention gdb.execute change.
* gdbcmd.h (execute_control_command): Don't declare.
* python/python.c (execute_gdb_command): Use read_command_lines_1,
execute_control_commands, execute_control_commands_to_string.
* cli/cli-script.h (execute_control_commands)
(execute_control_commands_to_string): Declare.
(execute_control_command): Add from_tty parameter.
* cli/cli-script.c (execute_control_commands)
(execute_control_commands_to_string): New functions.
(execute_user_command): Use execute_control_commands.
(execute_control_command_1): Add "from_tty" parameter. Update.
(execute_control_command): Likewise.
testsuite/ChangeLog
2018-05-04 Tom Tromey <tom@tromey.com>
PR python/22730:
* gdb.python/python.exp: Test multi-line execute.
2018-05-04 15:58:09 -06:00
..
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-05-04 15:58:09 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-03-23 10:38:23 +01:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-03-26 21:57:12 -06:00
2018-03-26 21:57:12 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-02-02 14:03:25 -05:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-05-02 16:37:57 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-02-02 14:03:25 -05:00
2018-02-02 14:03:25 -05:00
2018-02-02 14:03:25 -05:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-30 11:25:31 -06:00
2018-04-30 11:25:31 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-05-04 15:58:09 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00