The branch stable/13 has been updated by mhorne:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8e0504d1654d92995abeddef2af7241f902675ed

commit 8e0504d1654d92995abeddef2af7241f902675ed
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2021-01-22 18:56:56 +0000
Commit:     Mitchell Horne <[email protected]>
CommitDate: 2021-01-25 14:13:50 +0000

    gdb: only return signal values for powerpc's gdb_cpu_signal()
    
    Reviewed by:    alfredo
    
    (cherry picked from commit 57a543d8b85065f77e0b68162d09a03335970f90)
---
 sys/powerpc/powerpc/gdb_machdep.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sys/powerpc/powerpc/gdb_machdep.c 
b/sys/powerpc/powerpc/gdb_machdep.c
index 83b3245f4e69..a7f1de512e31 100644
--- a/sys/powerpc/powerpc/gdb_machdep.c
+++ b/sys/powerpc/powerpc/gdb_machdep.c
@@ -98,10 +98,7 @@ gdb_cpu_signal(int vector, int dummy __unused)
                return (SIGTRAP);
 #endif
 
-       if (vector <= 255)
-               return (vector);
-       else
-               return (SIGEMT);
+       return (SIGEMT);
 }
 
 void
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to