Merge tag 'fixes-for-v2020.07-rc4' of https://gitlab.denx.de/u-boot/custodians/u...
[oweals/u-boot.git] / common / kgdb_stubs.c
index 19b0c1824d25cfeddfc62149b61a9cb3148649b0..66aed7cea1c7e268afcbb7274e1c71fa5208c0e8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * U-boot - stub functions for common kgdb code,
+ * U-Boot - stub functions for common kgdb code,
  *          can be overridden in board specific files
  *
  * Copyright 2009 Analog Devices Inc.
@@ -8,7 +8,10 @@
  */
 
 #include <common.h>
+#include <cpu_func.h>
 #include <kgdb.h>
+#include <serial.h>
+#include <asm/ptrace.h>
 
 int (*debugger_exception_handler)(struct pt_regs *);