diff options
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 2 |
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); |