[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1156976522.24314.1.camel@piet2.bluelane.com>
Date: Wed, 30 Aug 2006 15:22:02 -0700
From: Piet Delaney <piet@...elane.com>
To: "Randy.Dunlap" <rdunlap@...otime.net>
Cc: Piet Delaney <piet@...elane.com>, vgoyal@...ibm.com,
George Anzinger <george@...dturkeyranch.net>,
Andrew Morton <akpm@...l.org>,
"Discussion list for crash utility usage, maintenance and development"
<crash-utility@...hat.com>, kgdb-bugreport@...ts.sourceforge.net,
Subhachandra Chandra <schandra@...elane.com>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] [Crash-utility] Patch to use gdb's bt in crash - works
great with kgdb! - KGDB in Linus Kernel.
On Wed, 2006-08-30 at 14:53 -0700, Randy.Dunlap wrote:
> On Wed, 30 Aug 2006 14:41:32 -0700 Piet Delaney wrote:
>
> > On Wed, 2006-08-30 at 16:40 -0400, Vivek Goyal wrote:
> > > On Wed, Aug 30, 2006 at 12:35:21PM -0700, Piet Delaney wrote:
> > > > >
> > > > > Simple question -- and to be quite honest with you -- I don't
> > > > > understand why you wouldn't want to simply use gdb alone
> > > > > in this case?
> > > >
> > > > I don't see any reason for core file not to be read correctly by
> > > > gdb. It's convenient to use gdb directly sometimes, for example
> > > > while using the ddd GUI.
> > > >
> > >
> > > You can run gdb to open core files as of today but the debugging
> > > capability will be limited. For ex. kernel core headers have the info
> > > of linearly mapped region only and they don't contain the virt address
> > > info of non-linearly mapped regions. So one can not debug the non-linearly
> > > mapped regions like modules.
> >
> > Amit's modified gdb might help for that problem. I haven't used
> > it but it allows gdb to load debug information about modules. You
> > can also use a script Amit wrote to explicitly load module info
> > into stock gdb; that also might work with kernel core files.
> >
> > >
> > > > kgdb isn't having any problems with kernel threads back traces.
> > > > The kernel objects are tweaked with dwarf code, but I see no
> > > > problem with using the same paradigm with crash. Works great.
> > > >
> > >
> > > Can you give some more details on what do you mean by kernel objects
> > > are tweaked with dwarf code.
> >
> > Attached is the cfi_annotations.patch patch from the kgdb-2.6.16 patch
> > which is part of the kgdb patch series. I believe George Anzinger used
> > a similar dwarf patch in the 2.6 mm series patches that Andrew provided.
> > I think Tom Rini wrote both of them.
>
> ENOPATCH
Opps.
-piet
>
> ---
> ~Randy
--
Piet Delaney
BlueLane Teck
W: (408) 200-5256; piet@...elane.com
H: (408) 243-8872; piet@...t.net
View attachment "cfi_annotations.patch" of type "text/x-patch" (49789 bytes)
Powered by blists - more mailing lists