Subject: Re: gdb and trapframes [was Re: Repeatable crash]
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: current-users
Date: 02/07/2008 08:43:03
On Thursday 07 February 2008 05:37:33 YAMAMOTO Takashi wrote:
> > On Monday 04 February 2008 23:14:18 YAMAMOTO Takashi wrote:
> > > > On Mon, Feb 04, 2008 at 02:03:28PM +0000, Andrew Doran wrote:
> >
> > [...]
> >
> > > > > The trap frame layout changed, I think dsl@netbsd.org is looking at
> > > > > it. Did you get anything out of ddb?
> > > >
> > > > I have a local fix, but nick needs to sort one out that can be given
> > > > back to the FSF.
> > > > The os specific parts of gdb are all done with 100s of magic
> > > > constants!
> > > >
> > > > 	David
> > > >
> > > > --
> > > > David Laight: david@l8s.co.uk
> > >
> > > i always feel that it essentially belongs to libkvm, not gdb.
> >
> > libkvm is not MI. Think cross debugger using target remote - magic
> > constants work for this.
> >
> > Nick
>
> do you think cross-libkvm is a bad idea?

Not necessarily, but making it "part of gdb" seems sensible to cover the cross 
debugger from non-NetBSD OS case.

Nick