From aa32f823fcb27092ab18e7a2023b091fb7c72f3a Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 26 Feb 2002 01:40:06 +0000 Subject: [PATCH] 2002-02-25 Daniel Jacobowitz From Eliot Dresselhaus : * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. --- gdb/ChangeLog | 5 +++++ gdb/gdbserver/linux-mips-low.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e00dab67040..153ae5e662f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-02-25 Daniel Jacobowitz + + From Eliot Dresselhaus : + * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. + 2002-02-25 Peter Schauer * 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 892bc2d6d09..0fbe92b145d 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; -- 2.30.2