Make command line editing (use of readline) be per UI
[deliverable/binutils-gdb.git] / gdb / interps.c
index fd08de55fc5267b6b62eebf83ca7ae73aa451932..6eed8f3c6c88eb2ebefa9ef10f62682ab05cecfb 100644 (file)
@@ -423,6 +423,16 @@ current_interp_command_loop (void)
   interp->procs->command_loop_proc (interp->data);
 }
 
+/* See interp.h  */
+
+int
+interp_supports_command_editing (struct interp *interp)
+{
+  if (interp->procs->supports_command_editing_proc != NULL)
+    return interp->procs->supports_command_editing_proc (interp);
+  return 0;
+}
+
 int
 interp_quiet_p (struct interp *interp)
 {
This page took 0.025005 seconds and 4 git commands to generate.