gdb/gdbserver:
authorYao Qi <yao@codesourcery.com>
Mon, 11 Jun 2012 07:24:15 +0000 (07:24 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 11 Jun 2012 07:24:15 +0000 (07:24 +0000)
* linux-low.c (linux_attach): Add 'static'.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index fd1ffec..a64e8a2 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-11  Yao Qi  <yao@codesourcery.com>
+
+       * linux-low.c (linux_attach): Add 'static'.
+
 2012-06-06  Yao Qi  <yao@codesourcery.com>
 
        * ax.c (gdb_eval_agent_expr): Print `top' in hex.
index e8667ea..3e88c42 100644 (file)
@@ -817,7 +817,7 @@ linux_attach_lwp (unsigned long lwpid)
 /* Attach to PID.  If PID is the tgid, attach to it and all
    of its threads.  */
 
-int
+static int
 linux_attach (unsigned long pid)
 {
   /* Attach to PID.  We will check for other threads