From: Yao Qi Date: Mon, 11 Jun 2012 07:24:15 +0000 (+0000) Subject: gdb/gdbserver: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c52daf705dade98d4954afeceec1225a12d4dac0;p=binutils-gdb.git gdb/gdbserver: * linux-low.c (linux_attach): Add 'static'. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index fd1ffecb6ff..a64e8a29c86 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2012-06-11 Yao Qi + + * linux-low.c (linux_attach): Add 'static'. + 2012-06-06 Yao Qi * 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 e8667ea83f0..3e88c42405f 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