]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/breakpoint.c
Multiexec MI
[thirdparty/binutils-gdb.git] / gdb / breakpoint.c
index 4af69a4a2d363e096a5490e12aec902a215a1ede..bd3330ff399665f71363e6dc9cec3476fcb9b5be 100644 (file)
@@ -10366,10 +10366,8 @@ add_catch_command (char *name, char *docstring,
 }
 
 static void
-clear_syscall_counts (int pid)
+clear_syscall_counts (struct inferior *inf)
 {
-  struct inferior *inf = find_inferior_pid (pid);
-
   inf->total_syscalls_count = 0;
   inf->any_syscall_count = 0;
   VEC_free (int, inf->syscalls_counts);