From owner-freebsd-doc@FreeBSD.ORG Tue Mar 1 18:28:13 2005 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B363716A4CF; Tue, 1 Mar 2005 18:28:13 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37BD143D46; Tue, 1 Mar 2005 18:28:13 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (localhost [127.0.0.1]) by ns1.xcllnt.net (8.13.3/8.13.3) with ESMTP id j21ISCZV020684; Tue, 1 Mar 2005 10:28:12 -0800 (PST) (envelope-from marcel@ns1.xcllnt.net) Received: (from marcel@localhost) by ns1.xcllnt.net (8.13.3/8.13.3/Submit) id j21ISCif020683; Tue, 1 Mar 2005 10:28:12 -0800 (PST) (envelope-from marcel) Date: Tue, 1 Mar 2005 10:28:11 -0800 From: Marcel Moolenaar To: Tom Rhodes Message-ID: <20050301182811.GA20606@ns1.xcllnt.net> References: <200502240449.j1O4n16n039222@freefall.freebsd.org> <421DB2BA.5020804@struchtrup.com> <20050301015436.2a0d40eb@mobile.pittgoth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050301015436.2a0d40eb@mobile.pittgoth.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-doc@FreeBSD.org Subject: Re: docs/72925: Developer's Handbook Ch. 11: replace gdb -k with kgdb X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 18:28:13 -0000 On Tue, Mar 01, 2005 at 01:54:36AM -0500, Tom Rhodes wrote: > On Thu, 24 Feb 2005 07:52:19 -0800 > Marcel Moolenaar 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? I guess that depends on how you're going to update the part about DDD... :-) It looks like I might be able to add the options in time, so it's probably a good idea to wait until the mights and looks-likes have been transmogrified into something less.. well.. jelly. In other words: into something more substantial and with more definition :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net