Author: markj
Date: Thu Feb 21 22:56:54 2019
New Revision: 344453
URL: https://svnweb.freebsd.org/changeset/base/344453

Log:
  Commit a missing piece of r344452.
  
  MFC with:     r344452

Modified:
  head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c

Modified: head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c   Thu Feb 
21 22:54:17 2019        (r344452)
+++ head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c   Thu Feb 
21 22:56:54 2019        (r344453)
@@ -1080,7 +1080,11 @@ fasttrap_pid_probe(struct trapframe *tf)
                         * been removed, and retry the instruction.
                         */
                        curthread->t_fasttrap_tp_gen = gen;
+#ifdef __amd64
                        tf->tf_rip = pc;
+#else
+                       tf->tf_eip = pc;
+#endif
                        return (0);
                }
                return (-1);
_______________________________________________
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