From owner-freebsd-questions Thu Apr 5 20: 6:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id BFEF637B422 for ; Thu, 5 Apr 2001 20:06:49 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.11.2/8.11.2) with ESMTP id f3636g200142; Thu, 5 Apr 2001 23:06:42 -0400 (EDT) Date: Thu, 5 Apr 2001 23:06:42 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@opal To: Hiroaki Yamazaki Cc: questions@FreeBSD.ORG Subject: Re: ptrace(PT_GETDBREGS) failed In-Reply-To: <001101c0be44$c677d6d0$a65017ac@bc.kcn.ts.fujitsu.co.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 6 Apr 2001, Hiroaki Yamazaki wrote: > Dear sir, > > I'm very new to FreeBSD. > I'm tracing kernel source code of FreeBSD4.2 with remote GDB debug > function which instructed by user hand book section 23.5. > > At every time after hit break point and continue, following message > ,ptrace(PT_GETDBREGS) failed: No such process, appear on gdb display. > Why and how to solve this ? > > > > kgdb) b key_timehandler > Breakpoint 2 at 0xc023d001: file ../../netkey/key.c, line 4018. > (kgdb) c > Continuing. > ptrace(PT_GETDBREGS) failed: No such process <--- Here > Breakpoint 2, key_timehandler () at ../../netkey/key.c:4018 > (kgdb) p/x procfs_validdbregs > $5 = {int (struct proc *)} 0xc01e47a4 > (kgdb) p/x *procfs_validdbregs I posted the same messages a while ago. Please search the archive for details. It is basically harmless. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message