Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 19:17:51 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        "Wayne M. Barnes" <wayne@barnes1.wustl.edu>
Cc:        stable mailing list at FreeBSD <freebsd-stable@FreeBSD.ORG>
Subject:   Re: passwd and send-pr
Message-ID:  <36C15CCF.47081592@newsguy.com>
References:  <199902100013.SAA05787@barnes1.wustl.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"Wayne M. Barnes" wrote:
> 
>     Is there a command I can give to see what these programs are doing,
> to see why they are hung up?

Yes. Since I haven't done this in a long time now, though, I can
only describe the process in very general terms.

First, go to the appropriate /usr/src directories, and recompile the
utilities in question with "-g". Install the new versions, run, and,
when the program hands, start gdb and attach the desired process.
You'll have to read on gdb documentation about attaching processes,
but, then again, you'll have to read on gdb documentation anyhow
(or, if you are already familiar with gdb, you probably won't have
trouble finding the part about attaching processes).

BTW, do you use -O2 or above when making world? If so, you better
just recompile it with -O first, since that may be the source of the
trouble.

--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org

	Well, as a computer geek, I have to believe in the binary universe.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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