aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-03-24 00:14:54 +0000
committerPedro Alves <palves@redhat.com>2010-03-24 00:14:54 +0000
commit2280c721d82d1c3d80e5f9afa9714406c5f411a7 (patch)
tree8012bba20bf17f81d03d7fef6505c0d8f15dffa6
parentd50171e439384d0185e81db4e2e3016d8c05d27b (diff)
downloadgdb-2280c721d82d1c3d80e5f9afa9714406c5f411a7.zip
gdb-2280c721d82d1c3d80e5f9afa9714406c5f411a7.tar.gz
gdb-2280c721d82d1c3d80e5f9afa9714406c5f411a7.tar.bz2
* server.c (handle_query): Assign, not compare.
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index ca01f67..ad6c68e 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,9 @@
2010-03-24 Pedro Alves <pedro@codesourcery.com>
+ * server.c (handle_query): Assign, not compare.
+
+2010-03-24 Pedro Alves <pedro@codesourcery.com>
+
Teach linux gdbserver to step-over-breakpoints.
* linux-low.c (can_hardware_single_step): New.
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 05a41bf..232085a 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);