patch-2.4.21 linux-2.4.21/arch/ia64/boot/bootloader.c

Next file: linux-2.4.21/arch/ia64/config.in
Previous file: linux-2.4.21/arch/i386/mm/init.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/ia64/boot/bootloader.c linux-2.4.21/arch/ia64/boot/bootloader.c
@@ -53,6 +53,15 @@
 
 #include "../kernel/fw-emu.c"
 
+/*
+ * Set a break point on this function so that symbols are available to set breakpoints in
+ * the kernel being debugged.
+ */
+static void
+debug_break (void)
+{
+}
+
 static void
 cons_write (const char *buf)
 {
@@ -187,6 +196,7 @@
 
 	ssc(0, (long) kpath, 0, 0, SSC_LOAD_SYMBOLS);
 
+	debug_break();
 	asm volatile ("mov sp=%2; mov r28=%1; br.sptk.few %0"
 		      :: "b"(e_entry), "r"(bp), "r"(__pa(&stack)));
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)