From 2280c721d82d1c3d80e5f9afa9714406c5f411a7 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 24 Mar 2010 00:14:54 +0000 Subject: [PATCH] * server.c (handle_query): Assign, not compare. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/server.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index ca01f67d76d..ad6c68ed2b6 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2010-03-24 Pedro Alves + + * server.c (handle_query): Assign, not compare. + 2010-03-24 Pedro Alves Teach linux gdbserver to step-over-breakpoints. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 05a41bfd9d1..232085aaa14 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -1471,7 +1471,7 @@ handle_query (char *own_buf, int packet_len, int *new_packet_len_p) unsigned long long crc; require_running (own_buf); - base == strtoul (own_buf + 5, &comma, 16); + base = strtoul (own_buf + 5, &comma, 16); if (*comma++ != ',') { write_enn (own_buf); -- 2.30.2