Remove redundant test in BFD_ASSERT
[deliverable/binutils-gdb.git] / gdb / uw-thread.c
index 3bee2e6ea662895667ba1e91eb1b3174b4c835d4..69f323bb8be0b5c6ca777d1466aa1b47b23ab63b 100644 (file)
@@ -161,7 +161,7 @@ do {                                        \
 #define CALL_BASE(call)                        \
 do {                                   \
   if (!lwp_infpid ())                  \
-    error ("uw-thread: no lwp");       \
+    error (_("uw-thread: no lwp"));    \
   CALL_BASE_1 (call);                  \
 } while (0)
 
@@ -254,7 +254,7 @@ dbg (char *fmt, ...)
       if (!path)
        path = DEBUG_FILE;
       if ((fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, 0664)) < 0)
-       error ("can't open %s\n", path);
+       error (_("can't open %s."), path);
     }
 
   va_start (args, fmt);
@@ -525,7 +525,7 @@ add_thread_uw (int thrid, int lwpid, CORE_ADDR mapp, ptid_t ptid)
   struct thread_info *newthread;
 
   if ((newthread = add_thread (ptid)) == NULL)
-    error ("failed to create new thread structure");
+    error (_("failed to create new thread structure"));
 
   newthread->private = xmalloc (sizeof (struct private_thread_info));
   newthread->private->stable = 1;
@@ -1002,7 +1002,7 @@ libthread_init (void)
   return;
 
  err:
-  warning ("uw-thread: unable to initialize user-mode thread debugging\n");
+  warning (_("uw-thread: unable to initialize user-mode thread debugging."));
   deactivate_uw_thread ();
 }
 
This page took 0.024433 seconds and 4 git commands to generate.