2005-04-26 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / dwarf2loc.c
index 00b21968b42ec8d96223094510fc4473d2e7de62..47c8101d763105be84b7fa8c7855c6cc2f5c3e88 100644 (file)
@@ -204,12 +204,8 @@ dwarf_expr_tls_address (void *baton, CORE_ADDR offset)
                                                           objfile);
          /* If it's 0, throw the appropriate exception.  */
          if (lm_addr == 0)
-           {
-             struct gdb_exception e
-               = { RETURN_ERROR, TLS_LOAD_MODULE_NOT_FOUND_ERROR, 0 };
-
-             throw_exception (e);
-           }
+           throw_error (TLS_LOAD_MODULE_NOT_FOUND_ERROR,
+                        _("TLS load module not found"));
 
          addr = target_get_thread_local_address (ptid, lm_addr, offset);
        }
This page took 0.023532 seconds and 4 git commands to generate.