* common/linux-ptrace.c (linux_fork_to_function): Push #
authorLuis Machado <luisgpm@br.ibm.com>
Fri, 23 Aug 2013 02:34:34 +0000 (02:34 +0000)
committerLuis Machado <luisgpm@br.ibm.com>
Fri, 23 Aug 2013 02:34:34 +0000 (02:34 +0000)
directives to the start of the line.
(linux_check_ptrace_features): Fix warning message to use
the "_" markup.

gdb/ChangeLog
gdb/common/linux-ptrace.c

index de6a83500e5c71bbb2b3c67bbdd566c2b0f1d0bf..79db3294a1a7f3d9c8d4b6eb6767c83cb2597b1d 100644 (file)
@@ -1,3 +1,10 @@
+2013-08-22  Luis Machado  <lgustavo@codesourcery.com>
+
+       * common/linux-ptrace.c (linux_fork_to_function): Push #
+       directives to the start of the line.
+       (linux_check_ptrace_features): Fix warning message to use
+       the "_" markup.
+
 2013-08-22  Luis Machado  <lgustavo@codesourcery.com>
 
        * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-nat.h and
index c4808ab0776afd4b8a4832315854351a9909c306..a4a2ca3a91a51a5f11b70ec566b449aaf7516464 100644 (file)
@@ -255,13 +255,13 @@ linux_fork_to_function (gdb_byte *child_stack, void (*function) (gdb_byte *))
       child_stack = xmalloc (STACK_SIZE * 4);
 
     /* Use CLONE_VM instead of fork, to support uClinux (no MMU).  */
-    #ifdef __ia64__
+#ifdef __ia64__
       child_pid = __clone2 (function, child_stack, STACK_SIZE,
                            CLONE_VM | SIGCHLD, child_stack + STACK_SIZE * 2);
-    #else /* !__ia64__ */
+#else /* !__ia64__ */
       child_pid = clone (function, child_stack + STACK_SIZE,
                         CLONE_VM | SIGCHLD, child_stack + STACK_SIZE * 2);
-  #endif /* !__ia64__ */
+#endif /* !__ia64__ */
 #else /* !defined(__UCLIBC) && defined(HAS_NOMMU) */
   child_pid = fork ();
 
@@ -445,7 +445,7 @@ linux_check_ptrace_features (void)
       ret = ptrace (PTRACE_KILL, child_pid, (PTRACE_TYPE_ARG3) 0,
                    (PTRACE_TYPE_ARG4) 0);
       if (ret != 0)
-       warning ("linux_check_ptrace_features: failed to kill child");
+       warning (_("linux_check_ptrace_features: failed to kill child"));
       my_waitpid (child_pid, &status, 0);
     }
   while (WIFSTOPPED (status));
This page took 0.029028 seconds and 4 git commands to generate.