From ae1ada354c8802f65b1dc96322e69fc2dff2cc6e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 26 Apr 2010 22:02:33 +0000 Subject: [PATCH] * server.c (handle_general_set): Make static. --- gdb/gdbserver/ChangeLog | 2 ++ gdb/gdbserver/server.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 7d0f93a56b0..bea054be4a9 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,7 @@ 2010-04-26 Doug Evans + * 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 35ea802ea51..460cb46beca 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) -- 2.30.2