From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 10 16:10:45 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38B1216A40F for ; Tue, 10 Oct 2006 16:10:45 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0C8F43D62 for ; Tue, 10 Oct 2006 16:10:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9AGARdt043248 for ; Tue, 10 Oct 2006 16:10:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9AGARV1043247; Tue, 10 Oct 2006 16:10:27 GMT (envelope-from gnats) Resent-Date: Tue, 10 Oct 2006 16:10:27 GMT Resent-Message-Id: <200610101610.k9AGARV1043247@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andriy Gapon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 269C616A403 for ; Tue, 10 Oct 2006 16:04:29 +0000 (UTC) (envelope-from avg@topspin.kiev.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED78043D81 for ; Tue, 10 Oct 2006 16:04:24 +0000 (GMT) (envelope-from avg@topspin.kiev.ua) Received: from oddity.topspin.kiev.ua (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA24719 for ; Tue, 10 Oct 2006 19:04:22 +0300 (EEST) (envelope-from avg@topspin.kiev.ua) Received: from oddity.topspin.kiev.ua (localhost [127.0.0.1]) by oddity.topspin.kiev.ua (8.13.6/8.13.6) with ESMTP id k9AG4Lqn052380 for ; Tue, 10 Oct 2006 19:04:21 +0300 (EEST) (envelope-from avg@oddity.topspin.kiev.ua) Received: (from avg@localhost) by oddity.topspin.kiev.ua (8.13.6/8.13.6/Submit) id k9AG4Lwg052379; Tue, 10 Oct 2006 19:04:21 +0300 (EEST) (envelope-from avg) Message-Id: <200610101604.k9AG4Lwg052379@oddity.topspin.kiev.ua> Date: Tue, 10 Oct 2006 19:04:21 +0300 (EEST) From: Andriy Gapon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/104271: devel/kdbg: fails to open core file X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 16:10:45 -0000 >Number: 104271 >Category: ports >Synopsis: devel/kdbg: fails to open core file >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 10 16:10:26 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andriy Gapon >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD 6.1-RELEASE-p2 i386 kdbg-2.0.4 >Description: if kdbg is started as 'kdbg program core' or core file is opened through gui menu, then kdbg actually fails to open the core file with the following error: GDB: Undefined target command: "core xxxxx.core". Try "help target". The message obviously comes from gdb(1). "help target" in gdb on my system produces: List of target subcommands: target FreeBSD-core -- FreeBSD threads support for core files target async -- Use a remote computer via a serial line target child -- Unix child process (started by the "run" command) target exec -- Use an executable file as a target target extended-async -- Use a remote computer via a serial line target extended-remote -- Use a remote computer via a serial line target freebsd-threads -- FreeBSD threads support target remote -- Use a remote computer via a serial line As you can see "core" target is indeed missing here. Not sure if this is gdb's fault, but I suspect that kdbg should use "target FreeBSD-core" instead of "target core". >How-To-Repeat: run the following: kdbg some_program core_file >Fix: >Release-Note: >Audit-Trail: >Unformatted: