lkml.org 
[lkml]   [1999]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: show_regs on SMP
From
Date
cel@monkey.org (Chuck Lever) writes:

> On 25 Jun 1999, Andi Kleen wrote:
> > > i was thinking it would be nice to have show_regs show the EIP and
> > > call traceback for all processors in an SMP configuration, not just the
> > > interrupted processor.
> > >
> > > perhaps the keyboard interrupt could instead trigger an IPI to all
> > > processors in the configuration which causes them to dump their stack
> > > frame on the console.
> > >
> > > comments? anyone already have a patch that does this?
> >
> > kdb can do this (http://reality.sgi.com/slurn_engr/)
>
> except kdb is only for 2.2.3, and doesn't build (on my configuration, at
> least). otherwise it looks like a very cool idea.

I have it running with various 2.2 and 2.3, with only minor hacking.
You may also need to increase the rather small symbol table limit in
scripts/genkdbsyms.awk (I was a bit surprised too that I run bigger
kernels than SGI ;);)

The main advantage of kdb over the usual kgdb stubs is that it is fully
SMP aware, can switch between CPUs etc. Now I only need a gdb remote-kdb.c
that speaks kdb commands...

-Andi

--
This is like TV. I don't like TV.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.079 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site