constify ui_out_impl
[deliverable/binutils-gdb.git] / gdb / amd64fbsd-tdep.c
index 446124c4e523c08297e6ca1b357357d253c96022..627ebafc8d35b9c648ac3c7b3633565b3fd6cfc4 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for FreeBSD/amd64.
 
-   Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2003-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -25,7 +25,7 @@
 #include "osabi.h"
 
 #include "gdb_assert.h"
-#include "gdb_string.h"
+#include <string.h>
 
 #include "amd64-tdep.h"
 #include "bsd-uthread.h"
@@ -67,7 +67,7 @@ static int amd64fbsd_r_reg_offset[] =
   8 * 8,                       /* %rdi */
   10 * 8,                      /* %rbp */
   20 * 8,                      /* %rsp */
-  7 * 8,                       /* %r8 ... */
+  7 * 8,                       /* %r8 ...  */
   6 * 8,
   5 * 8,
   4 * 8,
@@ -100,7 +100,7 @@ int amd64fbsd_sc_reg_offset[] =
   24 + 0 * 8,                  /* %rdi */
   24 + 8 * 8,                  /* %rbp */
   24 + 22 * 8,                 /* %rsp */
-  24 + 4 * 8,                  /* %r8 ... */
+  24 + 4 * 8,                  /* %r8 ...  */
   24 + 5 * 8,
   24 + 9 * 8,
   24 + 10 * 8,
@@ -129,11 +129,11 @@ static int amd64fbsd_jmp_buf_reg_offset[] =
   -1,                          /* %rdi */
   3 * 8,                       /* %rbp */
   2 * 8,                       /* %rsp */
-  -1,                          /* %r8 ... */
+  -1,                          /* %r8 ...  */
   -1,
   -1,
   -1,                          /* ... %r11 */
-  4 * 8,                       /* %r12 ... */
+  4 * 8,                       /* %r12 ...  */
   5 * 8,
   6 * 8,
   7 * 8,                       /* ... %r15 */
@@ -180,7 +180,7 @@ amd64fbsd_collect_uthread (const struct regcache *regcache,
     }
 }
 
-void
+static void
 amd64fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
   struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
This page took 0.024349 seconds and 4 git commands to generate.