From 1c055e55a242a33e574e48be530e06770a210dcd Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 19 Feb 2024 03:26:26 +0000 Subject: [PATCH] add r8169 read mac form eeprom --- kernel/Documentation/dev-tools/gdb-kernel-debugging.rst | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst b/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst index 19df792..10cdd99 100644 --- a/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst +++ b/kernel/Documentation/dev-tools/gdb-kernel-debugging.rst @@ -24,7 +24,7 @@ - Create a virtual Linux machine for QEMU/KVM (see www.linux-kvm.org and www.qemu.org for more details). For cross-development, - http://landley.net/aboriginal/bin keeps a pool of machine images and + https://landley.net/aboriginal/bin keeps a pool of machine images and toolchains that can be helpful to start from. - Build the kernel with CONFIG_GDB_SCRIPTS enabled, but leave @@ -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