S390: Add syscall info for syscalls up to 374
[deliverable/binutils-gdb.git] / gdb / exec.c
index 0b8c0777f52c2cb54230ac78bc2a6d0c704116b7..90811c081d3ebcb3fe1868e01cd2ce1ee5710ba7 100644 (file)
@@ -156,9 +156,12 @@ exec_file_locate_attach (int pid, int from_tty)
   /* If gdb_sysroot is not empty and the discovered filename
      is absolute then prefix the filename with gdb_sysroot.  */
   if (*gdb_sysroot != '\0' && IS_ABSOLUTE_PATH (exec_file))
-    full_exec_path = exec_file_find (exec_file, NULL);
-
-  if (full_exec_path == NULL)
+    {
+      full_exec_path = exec_file_find (exec_file, NULL);
+      if (full_exec_path == NULL)
+       return;
+    }
+  else
     {
       /* It's possible we don't have a full path, but rather just a
         filename.  Some targets, such as HP-UX, don't provide the
This page took 0.023341 seconds and 4 git commands to generate.