From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:40:51 +0000
Subject: [PATCH] disable kernel build waring
---
kernel/Documentation/dev-tools/gdb-kernel-debugging.rst | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst b/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst
index 4756f6b..10cdd99 100644
--- a/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst
+++ b/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst
@@ -39,6 +39,10 @@
this mode. In this case, you should build the kernel with
CONFIG_RANDOMIZE_BASE disabled if the architecture supports KASLR.
+- Build the gdb scripts (required on kernels v5.1 and above)::
+
+ make scripts_gdb
+
- Enable the gdb stub of QEMU/KVM, either
- at VM startup time by appending "-s" to the QEMU command line
--
Gitblit v1.6.2