diff options
author | Doug Evans <dje@google.com> | 2013-12-10 16:06:53 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-12-10 16:06:53 -0800 |
commit | 34dc884e1711a3d00c6815bf32aa5823390ff1f6 (patch) | |
tree | de333541b18e75ac91c08e55b1ea4d388edca40b /gdb/mi | |
parent | f2c7d7ee5b94a3ff4fe86d47e9a529cc50bfb7c5 (diff) | |
download | gdb-34dc884e1711a3d00c6815bf32aa5823390ff1f6.zip gdb-34dc884e1711a3d00c6815bf32aa5823390ff1f6.tar.gz gdb-34dc884e1711a3d00c6815bf32aa5823390ff1f6.tar.bz2 |
Delete interp_exec_p.
* interps.h (interp_exec_p): Delete.
* interps.c (interp_exec_p): Delete.
(interp_exec): Update. Assert interp->procs->exec_proc != NULL.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Update.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-interp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index b0073c3..2ed1726 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -231,11 +231,6 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc) error (_("-interpreter-exec: could not find interpreter \"%s\""), argv[0]); - if (!interp_exec_p (interp_to_use)) - error (_("-interpreter-exec: interpreter \"%s\" " - "does not support command execution"), - argv[0]); - /* Insert the MI out hooks, making sure to also call the interpreter's hooks if it has any. */ /* KRS: We shouldn't need this... Events should be installed and |