On Wed, 2006-09-13 at 07:34 -0700, Tom Rini wrote:
> On Tue, Sep 12, 2006 at 10:57:27PM -0700, Piet Delaney wrote:
> > >                                         As I said in my email about that
> > > repository, simple tests work for me.  I thought I was even forcing the
> > > unwind options to be on, but perhaps they weren't.
> > 
> > Looks like that's enabled:
> 
> OK, hm..  What did 'bt' look like when you first connected?

One stack frame and a bunch of repeating looping frames.
Runs right off the screen with ddd. I could dump frame info
and all but isn't the goal to get the kgdb stub into the
Linus kernel? I'll reboot the new stub Tomorrow and see
what's in the frame info.

> 
> [snip]
> > Many variables looked bogus due to optimization.
> 
> Perhaps OPTIMIZE_FOR_SIZE is at fault here?  I do have that disabled in
> my config.

gdb just doesn't do a fantastic job with local variables when
code is compiled -O2. I've had great success by just compiling
the kernel -O0.

I suggest our just putting your dwarf code back in until a better
solution is found and well tested. Once Andrew has pulled the kgdb
patch into mm it can be refined for the next mm patch. I suggest 
staying focused on getting it into the Linus kernel. I looked back
on Andrew's feedback and I didn't see the dwarf code being
objectionable.

I thought the dwarf code was overkill when I first say in but it's 
been in the mm patch with George's patch and see more benefit in getting
back in mm for the short term. There may be additional consequences with
the kdump + (gdb and/or 'crash') environment that we should consider
also. It will be easier to get Dave Anderson's group input once it's
in mm.

-piet

> 
-- 
Piet Delaney                                    Phone: (408) 200-5256
Blue Lane Technologies                          Fax:   (408) 200-5299
10450 Bubb Rd.
Cupertino, Ca. 95014                            Email: [EMAIL PROTECTED]

Attachment: 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

Reply via email to