From owner-freebsd-bugs Sun Oct 1 13:20: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3C95F37B503 for ; Sun, 1 Oct 2000 13:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA10064; Sun, 1 Oct 2000 13:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 61CFA37B66D for ; Sun, 1 Oct 2000 13:17:06 -0700 (PDT) Received: (from robert@localhost) by fledge.watson.org (8.9.3/8.9.3) id QAA57771; Sun, 1 Oct 2000 16:17:01 -0400 (EDT) (envelope-from robert) Message-Id: <200010012017.QAA57771@fledge.watson.org> Date: Sun, 1 Oct 2000 16:17:01 -0400 (EDT) From: rwatson@freebsd.org Reply-To: rwatson@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/21685: remote gdb: ptrace(PT_GETDBREGS) failed: No such process Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21685 >Category: gnu >Synopsis: remote gdb: ptrace(PT_GETDBREGS) failed: No such process >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 01 13:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Robert Watson >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: FreeBSD alsvid.watson.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Sep 22 10:54:51 EDT 2000 robert@alsvid.watson.org:/data/fbsd-current/fresh/acl/src/sys/compile/ACL i386 Using gdb to remote debug a kernel. >Description: Gdb spits out lots of ptrace() errors during remote debugging, whereas previously it did not. Since ptrace() should only be used for local debugging, there's probably a call to ptrace() that should not be occuring. Don't have the threshold date that it started due to spotty following of -CURRENT. >How-To-Repeat: (kgdb) target remote /dev/cuaa0 Remote debugging using /dev/cuaa0 ptrace(PT_GETDBREGS) failed: No such process Debugger (msg=0xc039af4f "Boot flags requested debugger") at ../../i386/i386/db_interface.c:326 326 in_Debugger = 0; >Fix: Not included. This doesn't appear to result in actual breakage, just an annoying message getting printed fairly frequently. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message