Re: [Kgdb-bugreport] compile failure with staging tree patches

2007-05-23 Thread Jason Wessel
Jason Wessel wrote: Sergei Shtylyov wrote: Well, as it turned out, KGDB was broken WRT h/w breakpoints anyway, so nobody ever cared it seems. :-) I meant to say i386-lite.patch. :-) It does appear to be broken. I merged in the code for playing with the debug registers

Re: [Kgdb-bugreport] [PATCH] attempt fix up breakpoint on reenter to KGDB

2007-05-23 Thread Sergei Shtylyov
Hello. Jason Wessel wrote: If not can you provide me with a test case to see the problem? Well, for example, with 2.6.18-rt7 kernel, stepping into smp_processor_id() was blowing away U-Boot (!) on my PPC board (even in PREEMPT_DESKTOP mode)... On x86, stepping past preempt_disable()

[Kgdb-bugreport] [PATCH] CPM UART: skip KGDB ports

2007-05-23 Thread Sergei Shtylyov
Add checks for CPM UART being used by KGDB to the console setup() and driver probe() methods -- previously it was only in the legacy mode path of the module_init() function. Also, properly indent the related code in that path... Extracted/modified from the original patch by Yuri Shpilevsky.