From owner-freebsd-questions Sun Apr 8 19:41:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fgwmail7.fujitsu.co.jp (fgwmail7.fujitsu.co.jp [192.51.44.37]) by hub.freebsd.org (Postfix) with ESMTP id 82E8D37B423 for ; Sun, 8 Apr 2001 19:41:15 -0700 (PDT) (envelope-from yamazaki.hiroaki@kcn.ts.fujitsu.co.jp) Received: from m3.gw.fujitsu.co.jp by fgwmail7.fujitsu.co.jp (8.9.3/3.7W-MX0012-Fujitsu Gateway) id LAA28945; Mon, 9 Apr 2001 11:41:08 +0900 (JST) (envelope-from yamazaki.hiroaki@kcn.ts.fujitsu.co.jp) Received: from ncsmail.bc.kcn.ts.fujitsu.co.jp by m3.gw.fujitsu.co.jp (8.9.3/3.7W-0104-Fujitsu Domain Master) id LAA07255; Mon, 9 Apr 2001 11:41:07 +0900 (JST) (envelope-from yamazaki.hiroaki@kcn.ts.fujitsu.co.jp) Received: from atmlan.bc.kcn.ts.fujitsu.co.jp (atmlan.bc.kcn.ts.fujitsu.co.jp [172.23.83.6]) by ncsmail.bc.kcn.ts.fujitsu.co.jp (8.9.3/3.7W) with ESMTP id LAA25417; Mon, 9 Apr 2001 11:41:06 +0900 (JST) Received: from HYAMAZAK (hyamazak.bc.kcn.ts.fujitsu.co.jp [172.23.80.166]) by atmlan.bc.kcn.ts.fujitsu.co.jp (8.9.3/3.7W[atmlan]05/29/2000) with SMTP id LAA19124; Mon, 9 Apr 2001 11:37:02 +0900 (JST) Message-ID: <00b601c0c09d$fdcfdaf0$a65017ac@bc.kcn.ts.fujitsu.co.jp> Reply-To: "Hiroaki Yamazaki" From: "Hiroaki Yamazaki" To: "Zhihui Zhang" Cc: References: Subject: Re: ptrace(PT_GETDBREGS) failed Date: Mon, 9 Apr 2001 11:37:16 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Zhihui Thanks for your advice. I could fetch out similar phenomena from problem reports about FreeBSD 5.0-CURRENT. http://www.freebsd.org/cgi/query-pr.cgi?pr=21685 Hiroaki Yamazaki ----- Original Message ----- From: "Zhihui Zhang" To: "Hiroaki Yamazaki" Cc: Sent: Friday, April 06, 2001 12:06 PM Subject: Re: ptrace(PT_GETDBREGS) failed 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