On Wed, Sep 13, 2006 at 09:36:50PM -0700, Piet Delaney wrote: > 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.
That's very odd since when I used it I got a correct unwind. > > [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'm suggesting that perhaps there's a bug in the specific version of the compiler you're using which is triggered when -Os is used (turned on by OPTIMIZE_FOR_SIZE, which does warn about buggy compilers) which is why the unwind isn't happening correctly for you. > 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. But the better solution has been found, and implemented (for some architectures, MIPS being one that it hasn't yet). Now lets figure out why it's not working for you :) -- Tom Rini ------------------------------------------------------------------------- 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
