kdb
[Top] [All Lists]

Re: [PATCH] stop debugger recursion when multiple resets caught.

To: linas@xxxxxxxxxxxxxx
Subject: Re: [PATCH] stop debugger recursion when multiple resets caught.
From: Olaf Hering <olh@xxxxxxx>
Date: Sat, 17 Apr 2004 16:55:38 +0200
Cc: anton@xxxxxxxxx, kdb@xxxxxxxxxxx, linuxppc64-dev@xxxxxxxxxxxxxxxxxx, ananth@xxxxxxxxxx, nitin@xxxxxxxxxx
In-reply-to: <20040416172206.N58706@forte.austin.ibm.com>
References: <20040416172206.N58706@forte.austin.ibm.com>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mutt und vi sind doch schneller als Notes
 On Fri, Apr 16, linas@xxxxxxxxxxxxxx wrote:

> 
> Hi Anton,
> 
> Please apply the following patch to Ameslab.  It fixes one of the
> most serious KDB problems at this time: incorrect handling of 
> recursive calls into the debugger from unexpected exceptions.
> 
> For example, hitting the little yellow button repeatedly is currently
> causing all sorts of havoc in KDB, as are some other, more bizarre
> circumstances.  This patch should fix these.  
> 
> --linas
> 

> --- arch/ppc64/kdb/kdbasupport.c.orig 2004-04-16 16:15:17.000000000 -0500
> +++ arch/ppc64/kdb/kdbasupport.c      2004-04-16 17:11:56.000000000 -0500
> @@ -1789,7 +1789,7 @@ kdb_debugger(struct pt_regs *regs) {
>       } else { /* regs invalid */
>               kdb(KDB_REASON_SILENT,0,regs);
>       }
> -     return 0;
> +     return 1;
>  }

Thanks Linas,

I have added this part.


-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÃRNBERG

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>