I have a 2-way x86_64 , a 32-bit application and SLES9-2.6.5-7.233. A
breakpoint has been set in the kernel to debug the application. When the
breakpoint is hit the system drops in to kdb, and after a 'go', the
32-bit application dies with 'Trace/breakpoint trap'.
The problem does not occur on the vanilla kernel 'linux-2.6.14.2.tar.gz'
and kdb patches 'kdb-v4.4-2.6.14-rc2-common-1' and
'kdb-v4.4-2.6.14-rc2-x86_64-1'.
A one line in kdbasupport.c helps solve the problem with
SLES9-2.6.5-7.233.
----------------------------
--- kdbasupport.c.orig 2005-11-25 23:33:34.000000000 +0530
+++ kdbasupport.c 2005-11-30 00:57:13.000000000 +0530
@@ -1027,6 +1027,8 @@ kdba_clearsinglestep(struct pt_regs *reg
regs->eflags |= EF_IE;
else
regs->eflags &= ~EF_IE;
+
+ clear_tsk_thread_flag(current,TIF_SINGLESTEP);
}
---------------------------
Is there a patch that has gone in to kdb to solve the problem, pls let
me know.
Thanks,
--
Chandru S
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.