Wow...  I could have sworn I submitted the same patch long time ago.
But I had the case statement in a different order.

diff -u linux-2.6.10/arch/arm/kernel/kgdb.c
linux-2.6.10/arch/arm/kernel/kgdb.c
Index: linux-2.6.14/arch/arm/kernel/kgdb.c
===================================================================
--- linux-2.6.14.orig/arch/arm/kernel/kgdb.c    2006-01-10
13:55:58.000000000 -0500
+++ linux-2.6.14/arch/arm/kernel/kgdb.c 2006-01-10 14:02:41.000000000
-0500
@@ -134,6 +134,8 @@
        char *ptr;
 
        switch (remcom_in_buffer[0]) {
+       case 'D':
+       case 'k':
        case 'c':
                kgdb_contthread = NULL;


Certainly I agree with the code, since I have been running with it for a
number of months.

Cheers,
Jason. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Girish Shilamkar
> Sent: Friday, April 21, 2006 7:18 AM
> To: KGDB-bugreport
> Subject: [Kgdb-bugreport] {PATCH} Kernel hangs on arm when 
> detached from gdb
> 
> If gdb is detached from the kernel on arm then it hangs. 
> Though it can attach again and can continue.
> The problem occurred as in arm, pc is at same location where 
> the breakpoint occurred. And this breakpoint happens to be 
> compiled breakpoint (^C) one needs to increment the pc to 
> next instruction.
> This patch does this in kgdb_arch_handle_exception.
> 
> 
> Signed off by: Girish Shilamkar <[EMAIL PROTECTED]>
> 
> 
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to