bin/78031: kgdb doesn't recognize -q and -fullname (needed for ddd)

Sebastian Schulze Struchtrup seb at struchtrup.com
Thu Feb 24 17:00:29 GMT 2005


>Number:         78031
>Category:       bin
>Synopsis:       kgdb doesn't recognize -q and -fullname (needed for ddd)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 24 17:00:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sebastian Schulze Struchtrup
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD s14702878.sun.ac.za 6.0-CURRENT FreeBSD 6.0-CURRENT #29: Tue Feb 22 15:37:51 SAST 2005 seb at s14702878.sun.ac.za:/usr/obj/usr/src/sys/notebook i386

>Description:
Developers Handbook Section 11.3 (Debugging a Crash Dump with DDD)) says to use `ddd -k` to debug kernels.
This will invoke `gdb -k`. For 5.3 and later, kgdb is used for kernel debugging.

Using `ddd --debugger kgdb` will pass `-q -fullname` as an option to kgdb, but
kgdb doesn't handle them at the moment and thus startup will fail.

>How-To-Repeat:
>Fix:

  pass -f / -fullname to the GDB core (according to marcel@)
  implement -q / -quiet in some way to skip copyright messages etc.
 

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list