aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-06-11 07:24:15 +0000
committerYao Qi <yao@codesourcery.com>2012-06-11 07:24:15 +0000
commitc52daf705dade98d4954afeceec1225a12d4dac0 (patch)
tree23107de376b074111e0e1f3572cead8c8b61e9bb /gdb/gdbserver
parent7b9f845ec7fcb8fa8ecc85a228d5c56f6d830933 (diff)
downloadgdb-c52daf705dade98d4954afeceec1225a12d4dac0.zip
gdb-c52daf705dade98d4954afeceec1225a12d4dac0.tar.gz
gdb-c52daf705dade98d4954afeceec1225a12d4dac0.tar.bz2
gdb/gdbserver:
* linux-low.c (linux_attach): Add 'static'.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/linux-low.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index fd1ffec..a64e8a2 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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.
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index e8667ea..3e88c42 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -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