reverse-finish: turn internal error into normal error
[deliverable/binutils-gdb.git] / gdb / linux-thread-db.c
index e693c65a7898d20c90b0ed743e1052a152cf62af..15902d8c0bfbe12c99c47a0a5b93d374a6b9d390 100644 (file)
@@ -1874,11 +1874,7 @@ thread_db_get_thread_local_address (struct target_ops *ops,
     }
 
   beneath = find_target_beneath (ops);
-  if (beneath->to_get_thread_local_address)
-    return beneath->to_get_thread_local_address (beneath, ptid, lm, offset);
-  else
-    throw_error (TLS_GENERIC_ERROR,
-                _("TLS not supported on this target"));
+  return beneath->to_get_thread_local_address (beneath, ptid, lm, offset);
 }
 
 /* Callback routine used to find a thread based on the TID part of
This page took 0.023364 seconds and 4 git commands to generate.