small fix for gdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in gdb-low.S, "mfc1" (not "cfc1") is used to get CP1 status/revision.
Here is a patch.

--- linux-sgi-cvs/arch/mips/kernel/gdb-low.S	Fri Oct 26 10:39:13 2001
+++ linux.new/arch/mips/kernel/gdb-low.S	Wed Oct 31 13:44:52 2001
@@ -145,9 +145,9 @@
  * FPU control registers
  */
 
-		mfc1	v0,CP1_STATUS
+		cfc1	v0,CP1_STATUS
 		sw	v0,GDB_FR_FSR(sp)
-		mfc1	v0,CP1_REVISION
+		cfc1	v0,CP1_REVISION
 		sw	v0,GDB_FR_FIR(sp)
 
 /*
---
Atsushi Nemoto

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux