aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-mips-low.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e00dab6..153ae5e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-25 Daniel Jacobowitz <drow@mvista.com>
+
+ From Eliot Dresselhaus <eliot@ayrnetworks.com>:
+ * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
+
2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* rs6000-nat.c (set_host_arch): Do not switch to a new architecture
diff --git a/gdb/gdbserver/linux-mips-low.c b/gdb/gdbserver/linux-mips-low.c
index 892bc2d..0fbe92b 100644
--- a/gdb/gdbserver/linux-mips-low.c
+++ b/gdb/gdbserver/linux-mips-low.c
@@ -68,7 +68,7 @@ cannot_fetch_register (int regno)
if (regmap[regno] == -1)
return 1;
- if (find_regno ("zero") == regno);
+ if (find_regno ("zero") == regno)
return 1;
return 0;