summaryrefslogtreecommitdiff
path: root/gdb/frv-linux-tdep.c
diff options
context:
space:
mode:
authorsergiodj <sergiodj>2012-12-25 17:27:47 +0000
committersergiodj <sergiodj>2012-12-25 17:27:47 +0000
commit565abbdd53cd3457ae1a8a6f05b6e1da1aec94eb (patch)
tree0a70669b3a013de0d4bc6f85d08c141b729b9e10 /gdb/frv-linux-tdep.c
parent87622f046496b3d03acf55057c333a50b13860a3 (diff)
downloadgdb-565abbdd53cd3457ae1a8a6f05b6e1da1aec94eb.tar.gz
2012-12-25 Sergio Durigan Junior <sergiodj@redhat.com>
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo.
Diffstat (limited to 'gdb/frv-linux-tdep.c')
-rw-r--r--gdb/frv-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c
index dd418834e70..4c0c0df6231 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;