git: 7078e0e2c2b0 - main - i386 double fault: %ebx printout was missed

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 14 Sep 2022 15:57:40 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=7078e0e2c2b0a86020a8bc46a32437ea4cf859b2

commit 7078e0e2c2b0a86020a8bc46a32437ea4cf859b2
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-05 07:52:46 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-14 15:46:31 +0000

    i386 double fault: %ebx printout was missed
    
    Tested by:      pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 sys/i386/i386/trap.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index cf7b45b8cd85..d09ba78cd83e 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -1001,10 +1001,12 @@ dblfault_handler(void)
 	printf(
 	    "eip = %#08x esp = %#08x ebp = %#08x eax = %#08x\n"
 	    "edx = %#08x ecx = %#08x edi = %#08x esi = %#08x\n"
+	    "ebx = %#08x\n"
 	    "psl = %#08x cs  = %#08x ss  = %#08x ds  = %#08x\n"
 	    "es  = %#08x fs  = %#08x gs  = %#08x cr3 = %#08x\n",
 	    t->tss_eip, t->tss_esp, t->tss_ebp, t->tss_eax,
 	    t->tss_edx, t->tss_ecx, t->tss_edi, t->tss_esi,
+	    t->tss_ebx,
 	    t->tss_eflags, t->tss_cs, t->tss_ss, t->tss_ds,
 	    t->tss_es, t->tss_fs, t->tss_gs, t->tss_cr3);
 #ifdef SMP