* c-exp.y (enum token_flags): New.
[deliverable/binutils-gdb.git] / gdb / interps.c
index 9b24c59eb32fd56a11465f98eeaf097a0fdd7d52..698e26ee83583908a92c938414d2d8961c145ffb 100644 (file)
@@ -251,6 +251,19 @@ interp_ui_out (struct interp *interp)
   return current_interpreter->procs->ui_out_proc (current_interpreter);
 }
 
+int
+current_interp_set_logging (int start_log, struct ui_file *out,
+                           struct ui_file *logfile)
+{
+  if (current_interpreter == NULL
+      || current_interpreter->procs->set_logging_proc == NULL)
+    return 0;
+
+  return current_interpreter->procs->set_logging_proc (current_interpreter,
+                                                      start_log, out,
+                                                      logfile);
+}
+
 /* Temporarily overrides the current interpreter.  */
 struct interp *
 interp_set_temp (const char *name)
This page took 0.024838 seconds and 4 git commands to generate.