Implementing catch syscall.
[deliverable/binutils-gdb.git] / gdb / i386-linux-nat.c
index 991b27fdd8ade3dfaab9fef61285734f01a8414e..fe848ff6460e3755d40767c1fed3a49d41691541 100644 (file)
@@ -752,7 +752,12 @@ i386_linux_resume (struct target_ops *ops,
 {
   int pid = PIDGET (ptid);
 
-  int request = PTRACE_CONT;
+  int request;
+
+  if (catch_syscall_enabled () > 0)
+   request = PTRACE_SYSCALL;
+  else
+    request = PTRACE_CONT;
 
   if (step)
     {
This page took 0.024868 seconds and 4 git commands to generate.