OSDN Git Service

* server.c (handle_query): Assign, not compare.
authorpalves <palves>
Wed, 24 Mar 2010 00:14:54 +0000 (00:14 +0000)
committerpalves <palves>
Wed, 24 Mar 2010 00:14:54 +0000 (00:14 +0000)
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index ca01f67..ad6c68e 100644 (file)
@@ -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.
index 05a41bf..232085a 100644 (file)
@@ -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);