Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2000 01:23:30 +0200 (CEST)
From:      Michael Reifenberger <root@nihil.plaut.de>
To:        Greg Lehey <grog@lemis.com>
Cc:        FreeBSD-Current <current@FreeBSD.ORG>, FreeBSD-SMP <freebsd-smp@FreeBSD.ORG>
Subject:   Re: Debugging -current SMPNG HANG on heavy disk-io
Message-ID:  <Pine.BSF.4.21.0009180114302.1035-100000@localhost>
In-Reply-To: <20000918074021.E67912@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Sep 2000, Greg Lehey wrote:
...
> You could also show the content of p->p_pid.  If you don't have a p
> pointer in the frame you're looking at, use ((struct
> *proc)gd_curproc)->p_pid and ((struct *proc)gd_curproc)->p_comm.  We
> need to know what is hanging.
Sorry doesn't seem to work:
(kgdb) p p->p_comm
No symbol "p" in current context.
(kgdb) p ((struct*proc)gd_curproc)->p_pid
A syntax error in expression, near `proc)gd_curproc)->p_pid'.
(kgdb) p ((struct *proc)gd_curproc)->p_comm
A syntax error in expression, near `proc)gd_curproc)->p_comm'.
(kgdb) p gd_curproc
$1 = 0xc78760c0



Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009180114302.1035-100000>