patch-2.3.11 linux/include/asm-arm/processor.h

Next file: linux/include/asm-arm/spinlock.h
Previous file: linux/include/asm-arm/page.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.10/linux/include/asm-arm/processor.h linux/include/asm-arm/processor.h
@@ -40,12 +40,20 @@
 #include <asm/arch/processor.h>
 #include <asm/proc/processor.h>
 
+struct debug_info {
+	int				nsaved;
+	struct {
+		unsigned long		address;
+		unsigned long		insn;
+	} bp[2];
+};
+
 struct thread_struct {
 	unsigned long			address;	  /* Address of fault	*/
 	unsigned long			trap_no;	  /* Trap number	*/
 	unsigned long			error_code;	  /* Error code of trap	*/
 	union fp_state			fpstate;	  /* FPE save state	*/
-	unsigned long			debug[NR_DEBUGS]; /* Debug/ptrace	*/
+	struct debug_info		debug;		  /* Debug/ptrace	*/
 	struct context_save_struct	*save;		  /* context save	*/
 	unsigned long			memmap;		  /* page tables	*/
 	EXTRA_THREAD_STRUCT

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