Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 01:54:36 -0500
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        marcel@FreeBSD.org
Subject:   Re: docs/72925: Developer's Handbook Ch. 11: replace gdb -k with kgdb
Message-ID:  <20050301015436.2a0d40eb@mobile.pittgoth.com>
In-Reply-To: <b5f122c58672fa6831162daa9ebd3261@xcllnt.net>
References:  <200502240449.j1O4n16n039222@freefall.freebsd.org> <421DB2BA.5020804@struchtrup.com> <b5f122c58672fa6831162daa9ebd3261@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Feb 2005 07:52:19 -0800
Marcel Moolenaar <marcel@xcllnt.net> wrote:

> On Feb 24, 2005, at 2:55 AM, Sebastian Schulze Struchtrup wrote:
> 
> > A Problem in section 11.3 (Debugging a Crash Dump with DDD) still 
> > remains.
> > `ddd -k` passes the `-k` to gdb which doesn't recognize it anymore 
> > (aswe are using kgdb now).
> > Specifying `--debugger kgdb` will pass a `-q -fullname` to kgdb which 
> > kgdb doesn't recognize.
> >
> > Maybe it would be the simplest approach to let kgdb support this 
> > options for compatibility
> > (maybe just ignore them) (marcel?)
> 
> They seem useful to support. In fact the -fullname (or -f) option
> is to be passed to the GDB core and not being ignored as it affects
> how stack frames are displayed. This allows DDD or Emacs to extract
> the file name, line number and column number.
> 
> > Perhaps we should file a separate PR to not forget about it?
> 
> Yes, please. I'll see if getting it in 5.4 is viable...

I've added a note for < 5.3 compatibility.  Should I update
the part about DDD or wait?

-- 
Tom Rhodes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301015436.2a0d40eb>