Constify some linespec functions
[deliverable/binutils-gdb.git] / gdb / tracepoint.c
index 12cc2fb235e0fce83643de2e42ab794b40e4cf98..52a449a3dd0d5807f3771ae7195a2053be19f5b2 100644 (file)
@@ -2550,17 +2550,18 @@ tfind_outside_command (char *args, int from_tty)
 
 /* info scope command: list the locals for a scope.  */
 static void
-info_scope_command (char *args, int from_tty)
+info_scope_command (char *args_in, int from_tty)
 {
   struct symbol *sym;
   struct bound_minimal_symbol msym;
   const struct block *block;
   const char *symname;
-  char *save_args = args;
+  const char *save_args = args_in;
   struct block_iterator iter;
   int j, count = 0;
   struct gdbarch *gdbarch;
   int regno;
+  const char *args = args_in;
 
   if (args == 0 || *args == 0)
     error (_("requires an argument (function, "
This page took 0.024998 seconds and 4 git commands to generate.