Author: avg
Date: Tue Nov 12 11:00:01 2019
New Revision: 354638
URL: https://svnweb.freebsd.org/changeset/base/354638

Log:
  teach db_nextframe/x86 about [X]xen_intr_upcall interrupt handler
  
  Discussed with:       kib, royger
  MFC after:    3 weeks
  Sponsored by: Panzura

Modified:
  head/sys/amd64/amd64/db_trace.c
  head/sys/i386/i386/db_trace.c

Modified: head/sys/amd64/amd64/db_trace.c
==============================================================================
--- head/sys/amd64/amd64/db_trace.c     Tue Nov 12 10:31:28 2019        
(r354637)
+++ head/sys/amd64/amd64/db_trace.c     Tue Nov 12 11:00:01 2019        
(r354638)
@@ -203,6 +203,7 @@ db_nextframe(struct amd64_frame **fp, db_addr_t *ip, s
                        frame_type = TRAP;
                else if (strncmp(name, "Xatpic_intr", 11) == 0 ||
                    strncmp(name, "Xapic_isr", 9) == 0 ||
+                   strcmp(name, "Xxen_intr_upcall") == 0 ||
                    strcmp(name, "Xtimerint") == 0 ||
                    strcmp(name, "Xipi_intr_bitmap_handler") == 0 ||
                    strcmp(name, "Xcpustop") == 0 ||

Modified: head/sys/i386/i386/db_trace.c
==============================================================================
--- head/sys/i386/i386/db_trace.c       Tue Nov 12 10:31:28 2019        
(r354637)
+++ head/sys/i386/i386/db_trace.c       Tue Nov 12 11:00:01 2019        
(r354638)
@@ -346,7 +346,8 @@ db_nextframe(struct i386_frame **fp, db_addr_t *ip, st
                        frame_type = SYSCALL;
                else if (strcmp(name, "dblfault_handler") == 0)
                        frame_type = DOUBLE_FAULT;
-               else if (strcmp(name, "Xtimerint") == 0)
+               else if (strcmp(name, "Xtimerint") == 0 ||
+                   strcmp(name, "Xxen_intr_upcall") == 0)
                        frame_type = INTERRUPT;
                else if (strcmp(name, "Xcpustop") == 0 ||
                    strcmp(name, "Xrendezvous") == 0 ||
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to