| To: | Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] fix KDB backtrace for ppc64 |
| From: | linas@xxxxxxxxxxxxxx |
| Date: | Wed, 5 May 2004 13:20:42 -0500 |
| Cc: | anton@xxxxxxxxx, kdb@xxxxxxxxxxx, linuxppc64-dev@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <20040505141647.GA4678@in.ibm.com>; from ananth@in.ibm.com on Wed, May 05, 2004 at 07:16:47PM +0500 |
| References: | <20040505141647.GA4678@in.ibm.com> |
| Sender: | kdb-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5.1i |
On Wed, May 05, 2004 at 07:16:47PM +0500, Ananth N Mavinakayanahalli wrote:
> @@ -200,25 +196,49 @@ kdba_bt_stack_ppc(struct pt_regs *regs,
> + if (!flag && (task_curr(p))) {
> +
> + lr = regs->link;
Its not obvious that regs might not be a null pointer. Code
higher up tries to make sure that regs is set to something,
but its not clear that every branch is correctly handled.
Other than that, the patch looks reasonable.
--linas
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: KDB and RedHat 9.0 - kernel version 2.4.20-8, Doug Haigh |
|---|---|
| Next by Date: | Re: [PATCH] fix KDB backtrace for ppc64, Haren Myneni |
| Previous by Thread: | [PATCH] fix KDB backtrace for ppc64, Ananth N Mavinakayanahalli |
| Next by Thread: | Re: [PATCH] fix KDB backtrace for ppc64 (reworked), Ananth N Mavinakayanahalli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |