aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-04-26 22:02:33 +0000
committerDoug Evans <dje@google.com>2010-04-26 22:02:33 +0000
commitae1ada354c8802f65b1dc96322e69fc2dff2cc6e (patch)
tree05d148661e5888cb1a58c2ad264fcdf7d2a73dc3 /gdb
parent9214d3714ab60f9f5811fc250632ae98f6a94102 (diff)
downloadgdb-ae1ada354c8802f65b1dc96322e69fc2dff2cc6e.zip
gdb-ae1ada354c8802f65b1dc96322e69fc2dff2cc6e.tar.gz
gdb-ae1ada354c8802f65b1dc96322e69fc2dff2cc6e.tar.bz2
* server.c (handle_general_set): Make static.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog2
-rw-r--r--gdb/gdbserver/server.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 7d0f93a..bea054b 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,7 @@
2010-04-26 Doug Evans <dje@google.com>
+ * server.c (handle_general_set): Make static.
+
* remote-utils.c (putpkt_binary_1): Call readchar instead of read.
Print received char after testing for error/eof instead of before.
(input_interrupt): Tweak comment.
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 35ea802..460cb46 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -379,7 +379,8 @@ write_qxfer_response (char *buf, const void *data, int len, int is_more)
}
/* Handle all of the extended 'Q' packets. */
-void
+
+static void
handle_general_set (char *own_buf)
{
if (strncmp ("QPassSignals:", own_buf, strlen ("QPassSignals:")) == 0)