svn commit: r334089 - head/sbin/dumpon

Mark Millard marklmi26-fbsd at yahoo.com
Wed May 23 23:54:55 UTC 2018


Ed Maste emaste at freebsd.org wrote on
Wed May 23 14:18:34 UTC 2018 :

> On 23 May 2018 at 10:15, Rodney W. Grimes
> <freebsd at pdx.rh.cn85.dnsmgr.net> wrote:
> >> Author: eadler
> >> Date: Wed May 23 10:45:32 2018
> >> New Revision: 334089
> >> URL: https://svnweb.freebsd.org/changeset/base/334089
> >>
> >> Log:
> >>   dumpon: point to better kernel debug symbols.
> >> ...
> >
> > You should of probably also included that fact that kgdb now must be invoked
> > /usr/libexec/kgdb, as it has been moved.
> 
> Rather, dumon should document installing the gdb port or package.

I've had examples of needing kgdb but the system being unable
to build ports because of what was wrong, including just after
an update or install attempt of FreeBSD.

I'd be cautious of completely removing references to
/usr/libexec/kgdb vs. indicating its use as a last resort,
such as when the alternatives are not available and
can not readily be made available.


Going in another direction . . .

On at least one non-tier-1 architecture I've at least once
had both kgdb's available but only /usr/libexec/kgdb would
work. (I do not remember the details any more.)

I'd be cautious of too much tied to tier-1 if some others
(still) have such problems.

(This last might be tied to my experiments with using clang
to target powerpc family members and so might be outside the
normal/supported form of building. I just do not remember at
this point.)

===
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)








More information about the svn-src-head mailing list