Make "thread apply" use the gdb::option framework
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index 80f343e1de6401abfc781157463401904495ff16..dce8a0f33f2bf6766222e085b9ca69230d6a13f3 100644 (file)
@@ -10896,10 +10896,7 @@ watch_maybe_just_location (const char *arg, int accessflag, int from_tty)
   if (arg
       && (check_for_argument (&arg, "-location", sizeof ("-location") - 1)
          || check_for_argument (&arg, "-l", sizeof ("-l") - 1)))
-    {
-      arg = skip_spaces (arg);
-      just_location = 1;
-    }
+    just_location = 1;
 
   watch_command_1 (arg, accessflag, from_tty, just_location, 0);
 }
This page took 0.029706 seconds and 4 git commands to generate.