Refactor DIE reading.
[deliverable/binutils-gdb.git] / gdb / linux-thread-db.c
index 1f6042d3db7fd67cf2aef99033296ae4710c02c7..f78f662d4359cae58229290fa4aa8b9af8912087 100644 (file)
@@ -870,7 +870,9 @@ try_thread_db_load_from_pdir_1 (struct objfile *obj)
   gdb_assert (cp != NULL);
   strcpy (cp + 1, LIBTHREAD_DB_SO);
 
-  if (!file_is_auto_load_safe (path))
+  if (!file_is_auto_load_safe (path, _("auto-load: Loading libthread-db "
+                                      "library \"%s\" from $pdir.\n"),
+                              path))
     result = 0;
   else
     result = try_thread_db_load (path);
@@ -940,7 +942,10 @@ try_thread_db_load_from_dir (const char *dir, size_t dir_len)
   path[dir_len] = '/';
   strcpy (path + dir_len + 1, LIBTHREAD_DB_SO);
 
-  if (!file_is_auto_load_safe (path))
+  if (!file_is_auto_load_safe (path, _("auto-load: Loading libthread-db "
+                                      "library \"%s\" from explicit "
+                                      "directory.\n"),
+                              path))
     result = 0;
   else
     result = try_thread_db_load (path);
This page took 0.024545 seconds and 4 git commands to generate.