Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2023 16:37:56 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 187268c471c1 - stable/14 - bhyve: Fix the GDB_LOG build
Message-ID:  <202311241637.3AOGburw067775@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=187268c471c1708371365dd1c56bd3fec1120c03

commit 187268c471c1708371365dd1c56bd3fec1120c03
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-11-11 17:14:49 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-11-24 16:37:43 +0000

    bhyve: Fix the GDB_LOG build
    
    MFC after:      1 week
    Fixes:  7d9ef309bd09 ("libvmmapi: Add a struct vcpu and use it in most APIs.")
    
    (cherry picked from commit 4e288572b85815bcefb929fcc4f20c01a459e9db)
---
 usr.sbin/bhyve/gdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bhyve/gdb.c b/usr.sbin/bhyve/gdb.c
index 55178677f837..a6c0700308e7 100644
--- a/usr.sbin/bhyve/gdb.c
+++ b/usr.sbin/bhyve/gdb.c
@@ -764,7 +764,7 @@ gdb_cpu_add(struct vcpu *vcpu)
 	CPU_SET(vcpuid, &vcpus_active);
 	if (!TAILQ_EMPTY(&breakpoints)) {
 		vm_set_capability(vcpu, VM_CAP_BPT_EXIT, 1);
-		debug("$vCPU %d enabled breakpoint exits\n", vcpu);
+		debug("$vCPU %d enabled breakpoint exits\n", vcpuid);
 	}
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311241637.3AOGburw067775>