On Tue, 2006-10-10 at 10:23 -0700, Tom Rini wrote: > On Thu, Sep 28, 2006 at 05:48:12PM +0200, Przemyslaw Brojewski wrote: > > > Hello, I think I've found a typo in sh-lite.patch. > > It contains this hunk: > > Fixed in the git tree, but not yet pushed (as I need to move up to > 2.6.19-rc1), thanks!
Heads Up:
Keith Owens just mentioned in the kdb newsgroup that struct pt_regs
will no longer be passed around and it will become necessary to call
get_irq_regs() starting in 22.6.19-rc2:
==================================================================
KDB changes that will occur in 2.6.19-rc2
From: Keith Owens <[EMAIL PROTECTED]>
Date: Tuesday 10 October 2006 12:51:47 am
Groups: gmane.linux.kernel.debugging
======================================================================
There are some big changes in the current kernel git tree that will
appear in 2.6.19-rc2. The git kernel no longer passes struct pt_regs
around, instead there is a get_irq_regs() function to obtain the
registers as of the last interrupt. If you have any code that passes
struct pt_regs then expect to spend some time fixing it on 2.6.19-rc2.
KDB passes pt_regs all over the place and will require lots of little
changes. I will take care of the main KDB patch, but if you maintain
any KDB patches yourself then you will have to remove struct pt_regs
from the parameter lists in your code.
Since this change affects a lot of the KDB functions, I will take this
opportunity to also remove the environment pointer from the KDB
functions. Only a couple of KDB internal functions actually need envp
and they can get the data from a global structure. Passing envp to
various functions is something I inherited from the previous KDB
maintainer and I was unwilling to remove it because it would break
external KDB patches. But since the pt_regs removal must be done
anyway, removing envp is not much extra pain.
For example, before 2.6.19-rc2:
static int
kdb_ps(int argc, const char **argv, const char **envp, struct pt_regs
*regs)
2.6.19-rc2 and later:
static int
kdb_ps(int argc, const char **argv)
======================================================================
>
--
Piet Delaney Phone: (408) 200-5256
Blue Lane Technologies Fax: (408) 200-5299
10450 Bubb Rd.
Cupertino, Ca. 95014 Email: [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
