Remove DEF_VEC_P (varobj_p)
[deliverable/binutils-gdb.git] / gdb / event-top.c
index 73771894c9a7afaee400f01c6fd14831ec886b49..89936965a97af9ecd896dba1c6465a2ebf8979bd 100644 (file)
@@ -565,10 +565,10 @@ async_disable_stdin (void)
    a whole command.  */
 
 void
-command_handler (char *command)
+command_handler (const char *command)
 {
   struct ui *ui = current_ui;
-  char *c;
+  const char *c;
 
   if (ui->instream == ui->stdin_stream)
     reinitialize_more_filter ();
@@ -759,7 +759,7 @@ command_line_handler (char *rl)
         hung up but GDB is still alive.  In such a case, we just quit
         gdb killing the inferior program too.  */
       printf_unfiltered ("quit\n");
-      execute_command ((char *) "quit", 1);
+      execute_command ("quit", 1);
     }
   else if (cmd == NULL)
     {
This page took 0.02305 seconds and 4 git commands to generate.