Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2001 11:37:16 +0900
From:      "Hiroaki Yamazaki" <yamazaki.hiroaki@kcn.ts.fujitsu.co.jp>
To:        "Zhihui Zhang" <zzhang@cs.binghamton.edu>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: ptrace(PT_GETDBREGS) failed
Message-ID:  <00b601c0c09d$fdcfdaf0$a65017ac@bc.kcn.ts.fujitsu.co.jp>
References:  <Pine.SOL.4.21.0104052305150.22692-100000@opal>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <zzhang@cs.binghamton.edu>
To: "Hiroaki Yamazaki" <yamazaki.hiroaki@kcn.ts.fujitsu.co.jp>
Cc: <questions@FreeBSD.ORG>
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 <procfs_validdbregs>
> (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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b601c0c09d$fdcfdaf0$a65017ac>