Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/arch/hppa/include Pull up following revision(s) (requ...



details:   https://anonhg.NetBSD.org/src/rev/4fd38246abe8
branches:  netbsd-7
changeset: 799750:4fd38246abe8
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Jan 12 10:21:44 2016 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #1072):
        sys/arch/hppa/include/db_machdep.h: revision 1.13
PR port-hppa/50642: src/sys/arch/hppa/include/db_machdep.h:118: bad if test ?
Correct the test for rfir and add one for rfi while I'm here.

diffstat:

 sys/arch/hppa/include/db_machdep.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 7a9a7b8868fe -r 4fd38246abe8 sys/arch/hppa/include/db_machdep.h
--- a/sys/arch/hppa/include/db_machdep.h        Tue Jan 12 10:16:50 2016 +0000
+++ b/sys/arch/hppa/include/db_machdep.h        Tue Jan 12 10:21:44 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.h,v 1.12 2012/01/18 09:35:48 skrll Exp $    */
+/*     $NetBSD: db_machdep.h,v 1.12.22.1 2016/01/12 10:21:44 snj Exp $ */
 
 /*     $OpenBSD: db_machdep.h,v 1.5 2001/02/16 19:20:13 mickey Exp $   */
 
@@ -115,7 +115,8 @@
               (ins & 0xfc000000) == 0xe0000000;
 }
 static __inline int inst_trap_return(u_int ins)        {
-       return (ins & 0xfc001fc0) == 0x00000ca0;
+       return (ins & 0xfc001fe0) == 0x00000c00 ||
+              (ins & 0xfc001fe0) == 0x00000ca0;
 }
 
 #define db_clear_single_step(r)        ((r)->tf_ipsw &= ~PSW_R)



Home | Main Index | Thread Index | Old Index