Andi Kleen wrote:Perhaps we are talking about different things. I will agree that there is no protection against putting a breakpoint in some code that is part of the debugger. That was certainly not what I was talking about. You might be able to perform some protections at the breakpoint set time or request to single step, but that is much more complex than is worth it for the time being. The recursion check guards against basic stupidity or accidental stepping out of a frame you didn't mean to. Also there are a lot of non-obvious code paths that can get executed via kgdb such as the fault handlers. The simple recursion check covers enough cases that you don't want to live without it. If you want to improve it please provide some patches or further elaborate on what needs to be fixed. Jason --
| Lennart Sorensen | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Dmitry Torokhov | Re: 2.6.21-rc5-mm3 |
git: | |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
