* breakpoint.c (catch_syscall_split_args): Use skip_spaces.
[deliverable/binutils-gdb.git] / gdb / thread.c
index 6b53c7a2ebbfc70b56fff4031b1fcaca09467ce7..24e64133351b6a4c692ce37443ae585a54c73a7a 100644 (file)
@@ -1300,8 +1300,7 @@ thread_name_command (char *arg, int from_tty)
   if (ptid_equal (inferior_ptid, null_ptid))
     error (_("No thread selected"));
 
-  while (arg && isspace (*arg))
-    ++arg;
+  arg = skip_spaces (arg);
 
   info = inferior_thread ();
   xfree (info->name);
This page took 0.035842 seconds and 4 git commands to generate.