Page MenuHomeFreeBSD

D43919.diff
No OneTemporary

D43919.diff

diff --git a/sys/riscv/riscv/machdep.c b/sys/riscv/riscv/machdep.c
--- a/sys/riscv/riscv/machdep.c
+++ b/sys/riscv/riscv/machdep.c
@@ -33,6 +33,7 @@
* SUCH DAMAGE.
*/
+#include "opt_ddb.h"
#include "opt_kstack_pages.h"
#include "opt_platform.h"
@@ -91,6 +92,10 @@
#include <machine/trap.h>
#include <machine/vmparam.h>
+#ifdef DDB
+#include <ddb/ddb.h>
+#endif
+
#ifdef FDT
#include <contrib/libfdt/libfdt.h>
#include <dev/fdt/fdt_common.h>
@@ -455,7 +460,7 @@
#ifdef DDB
ksym_start = MD_FETCH(kmdp, MODINFOMD_SSYM, uintptr_t);
ksym_end = MD_FETCH(kmdp, MODINFOMD_ESYM, uintptr_t);
- db_fetch_ksymtab(ksym_start, ksym_end);
+ db_fetch_ksymtab(ksym_start, ksym_end, 0);
#endif
#ifdef FDT
try_load_dtb(kmdp);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 2:55 AM (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14526206
Default Alt Text
D43919.diff (734 B)

Event Timeline