diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-12-25 17:27:49 +0000 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-12-25 17:27:49 +0000 |
commit | 137a83b9f9fb6da863136923fec8c4b24c7ec5a6 (patch) | |
tree | 9fe4321fd0fb2b064d7553df7e9aff95a1e6d6d7 | |
parent | f35a17b5424e3d92d168c2a30d85940294c22d9a (diff) | |
download | gdb-137a83b9f9fb6da863136923fec8c4b24c7ec5a6.zip gdb-137a83b9f9fb6da863136923fec8c4b24c7ec5a6.tar.gz gdb-137a83b9f9fb6da863136923fec8c4b24c7ec5a6.tar.bz2 |
2012-12-25 Sergio Durigan Junior <sergiodj@redhat.com>
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/frv-linux-tdep.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6f22130..d5d208b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c index dd41883..4c0c0df 100644 --- a/gdb/frv-linux-tdep.c +++ b/gdb/frv-linux-tdep.c @@ -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; |