clean up some target delegation cases
[deliverable/binutils-gdb.git] / gdb / linux-thread-db.c
index 15902d8c0bfbe12c99c47a0a5b93d374a6b9d390..af8232adf47d8501394cd89386a730f0df32d41c 100644 (file)
@@ -1767,10 +1767,7 @@ thread_db_pid_to_str (struct target_ops *ops, ptid_t ptid)
     }
 
   beneath = find_target_beneath (ops);
-  if (beneath->to_pid_to_str (beneath, ptid))
-    return beneath->to_pid_to_str (beneath, ptid);
-
-  return normal_pid_to_str (ptid);
+  return beneath->to_pid_to_str (beneath, ptid);
 }
 
 /* Return a string describing the state of the thread specified by
This page took 0.027267 seconds and 4 git commands to generate.