Hello. Jason Wessel wrote:
>>> Index: linux-2.6/arch/x86_64/kernel/kgdb.c >>> =================================================================== >>> --- linux-2.6.orig/arch/x86_64/kernel/kgdb.c >>> +++ linux-2.6/arch/x86_64/kernel/kgdb.c >> Everything in between belongs to x86_64-hw_breakpoints.patch and >> everything below belongs to x86_64-lite.patch. Erm... the patches were not separated at this place actually but before kgdb_arch_handle_exception()... Anyway, x86_64-hw_breakpoints.patch fails to apply for me now, here's the reject: *************** *** 187,206 **** } - asm volatile ("movq %%db6, %0\n":"=r" (dr6)); if (!(dr6 & 0x4000)) { for (breakno = 0; breakno < 4; ++breakno) { - if (dr6 & (1 << breakno)) { - if (breakinfo[breakno].type == 0) { - /* Set restore flag */ - linux_regs->eflags |= - X86_EFLAGS_RF; - break; - } } } } - asm volatile ("movq %0, %%db6\n"::"r" (0UL)); return 0; } --- 294,314 ---- } + get_debugreg(dr6, 6); if (!(dr6 & 0x4000)) { + int breakno; + for (breakno = 0; breakno < 4; ++breakno) { + if (dr6 & (1 << breakno) && + breakinfo[breakno].type == 0) { + /* Set restore flag */ + linux_regs->eflags |= X86_EFLAGS_RF; + break; } } } + set_debugreg(0UL, 6); + kgdb_correct_hw_break(); return 0; } That change should be in x86_64-lite.patch instead. I should have separated my patch from the start... maybe it's my quilt though. :-/ WBR, Sergei ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport