From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 27 07:20:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82D4D16A41B for ; Sun, 27 Jan 2008 07:20:18 +0000 (UTC) (envelope-from sanjeevfiles@yahoo.com) Received: from web57712.mail.re3.yahoo.com (web57712.mail.re3.yahoo.com [68.142.236.75]) by mx1.freebsd.org (Postfix) with SMTP id 375E013C4D1 for ; Sun, 27 Jan 2008 07:20:18 +0000 (UTC) (envelope-from sanjeevfiles@yahoo.com) Received: (qmail 69440 invoked by uid 60001); 27 Jan 2008 07:20:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=PuEF5+4fsML62+BvKrfibjvFIKBDYKNdJUE7rrPngxsX7XlOb3vcpm2wr2BH0EwQdRR9r6GlJuvlFlBIvKhgEpmd77V5Sa6x/o+bAykBrGukvTpJyMvplQVu56GDgGEO4LJ6P84D3O9YhoTFE9j0sBS1iaQsDNTPlFsiRTWe0U8=; X-YMail-OSG: D8wQ4TsVM1l9BvO0zm175u9xbRYzlg_PA5XDjEKHGbZC.Al1Dik_xk94pJZiudGssw-- Received: from [210.68.188.20] by web57712.mail.re3.yahoo.com via HTTP; Sat, 26 Jan 2008 23:20:17 PST Date: Sat, 26 Jan 2008 23:20:17 -0800 (PST) From: "Sanjeev Kumar.S" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Message-ID: <573900.69293.qm@web57712.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: kgdb in emacs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 07:20:18 -0000 Hi, I'm trying to use kgdb in emacs on Freebsd V6.2. I'm able to use kgdb on the command line like this kgdb -r /dev/cuad0 kernel.debug. In 6.2 there is no gdb -k, only kgdb. But when I run it in emacs. M-x gdb Run gdb ( like this ) : kgdb -r /dev/cuad0 kernel.debug I get : Current directory is /dev/ kgdb: multiple core files specified. Ignored kgdb: d: No such file or directory. Debugger exited abnormally with code 1 Why is emacs even interpretting my commands. Why doesn't it just call kgdb with whatever arguments I give ? Regards, Sanjeev. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.