This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix ARI _() gripe in aarch64-linux-nat.c


Hi,

The attached patch fixes an ARI gripe about missing _() in aarch64-linux-nat.c

Committed as obvious.

/Marcus

2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>

       * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity)
       Adding _().
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index a644c45..507ba81 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -735,16 +735,16 @@ aarch64_linux_get_debug_reg_capacity (void)
       aarch64_num_wp_regs = AARCH64_DEBUG_NUM_SLOTS (dreg_state.dbg_info);
       if (aarch64_num_wp_regs > AARCH64_HWP_MAX_NUM)
 	{
-	  warning ("Unexpected number of hardware watchpoint registers reported"
-		   " by ptrace, got %d, expected %d.",
+	  warning (_("Unexpected number of hardware watchpoint registers"
+		     " reported by ptrace, got %d, expected %d."),
 		   aarch64_num_wp_regs, AARCH64_HWP_MAX_NUM);
 	  aarch64_num_wp_regs = AARCH64_HWP_MAX_NUM;
 	}
     }
   else
     {
-      warning ("Unable to determine the number of hardware watchpoints"
-	       " available.");
+      warning (_("Unable to determine the number of hardware watchpoints"
+		 " available."));
       aarch64_num_wp_regs = 0;
     }
 
@@ -755,16 +755,16 @@ aarch64_linux_get_debug_reg_capacity (void)
       aarch64_num_bp_regs = AARCH64_DEBUG_NUM_SLOTS (dreg_state.dbg_info);
       if (aarch64_num_bp_regs > AARCH64_HBP_MAX_NUM)
 	{
-	  warning ("Unexpected number of hardware breakpoint registers reported"
-		   " by ptrace, got %d, expected %d.",
+	  warning (_("Unexpected number of hardware breakpoint registers"
+		     " reported by ptrace, got %d, expected %d."),
 		   aarch64_num_bp_regs, AARCH64_HBP_MAX_NUM);
 	  aarch64_num_bp_regs = AARCH64_HBP_MAX_NUM;
 	}
     }
   else
     {
-      warning ("Unable to determine the number of hardware breakpoints"
-	       " available.");
+      warning (_("Unable to determine the number of hardware breakpoints"
+		 " available."));
       aarch64_num_bp_regs = 0;
     }
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]