Jason Wessel wrote:
> This patch fixes some corner cases where KGDB will silently hang or
> kill the system, if a user accidentally tries to source step into a
> spin_unlock() call or source step in on a macro containing
> smp_processor_id().  The use of raw_smp_processor_id is desired in
> kernel/kgdb.c to fix this particular problem.
>
> To fix issues with accidental source step in on spin_unlock(), the
> idea is to check for the existence of a break point on the second
> entry to kgdb and try to remove it.  Next an attempt will be made to
> continue normal operations.  A third entry will generate a panic(), so
> as to stop infinite loops.
>
> Testing has shown that kgdb is much more robust with these changes
> and "random accidental run control".
>
> Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>

This patch is committed in the linux2_6_21_uprev branch across:
core-lite.patch core.patch i386-lite.patch x86_64-lite.patch

Jason.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to