2012-12-25 Sergio Durigan Junior <sergiodj@redhat.com>
authorSergio Durigan Junior <sergiodj@redhat.com>
Tue, 25 Dec 2012 17:27:49 +0000 (17:27 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Tue, 25 Dec 2012 17:27:49 +0000 (17:27 +0000)
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo.

gdb/ChangeLog
gdb/frv-linux-tdep.c

index 6f221306ae1fae690bc2b6f995e41717e46655d9..d5d208ba405b4d2c9a784bf1c044e75f1feb2de3 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-25  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo.
+
 2012-12-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * ada-lang.c (is_known_support_routine): New variable fullname.  Use
index dd418834e708d6a84c6c3c2f3f37531414863435..4c0c0df6231dbe3425e1f03602f0e53088efe570 100644 (file)
@@ -57,7 +57,7 @@ frv_linux_pc_in_sigtramp (struct gdbarch *gdbarch, CORE_ADDR pc,
 
   if (instr == 0x8efc0077)     /* setlos #__NR_sigreturn, gr7 */
     retval = NORMAL_SIGTRAMP;
-  else if (instr -= 0x8efc00ad)        /* setlos #__NR_rt_sigreturn, gr7 */
+  else if (instr == 0x8efc00ad)        /* setlos #__NR_rt_sigreturn, gr7 */
     retval = RT_SIGTRAMP;
   else
     return 0;