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
-  Lines: 24
-  Date:
2003-06-13 07:51:29.000000000 -0700
-  Orig file: 
linux-2.4.20/arch/ia64/boot/bootloader.c
-  Orig date: 
2001-07-31 10:30:08.000000000 -0700
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)