From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.devel Subject: Gdb in emacs 24 Date: Tue, 08 Mar 2011 09:07:32 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1299571675 20039 80.91.229.12 (8 Mar 2011 08:07:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2011 08:07:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 09:07:49 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PwrxL-0007Hu-Ni for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 09:07:48 +0100 Original-Received: from localhost ([127.0.0.1]:35132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwrxK-0006et-PN for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 03:07:46 -0500 Original-Received: from [140.186.70.92] (port=38896 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwrx9-0006dh-4g for emacs-devel@gnu.org; Tue, 08 Mar 2011 03:07:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pwrx7-0001lK-Jj for emacs-devel@gnu.org; Tue, 08 Mar 2011 03:07:34 -0500 Original-Received: from mta-1.ms.rz.rwth-aachen.de ([134.130.7.72]:42047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pwrx7-0001kx-EV for emacs-devel@gnu.org; Tue, 08 Mar 2011 03:07:33 -0500 Original-Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-1.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0LHQ002FABWKGN50@mta-1.ms.rz.RWTH-Aachen.de> for emacs-devel@gnu.org; Tue, 08 Mar 2011 09:07:32 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.62,283,1297033200"; d="scan'208";a="98703555" Original-Received: from relay-2.ms.rz.rwth-aachen.de (HELO relay.rwth-aachen.de) ([134.130.7.75]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Tue, 08 Mar 2011 09:07:33 +0100 Original-Received: from plaetekopp (plaetekopp.informatik.RWTH-Aachen.DE [137.226.59.97]) by relay.rwth-aachen.de (8.14.4+Sun/8.13.8/1) with ESMTP id p2887Ws4005752 for ; Tue, 08 Mar 2011 09:07:32 +0100 (CET) Original-Received: from crotti by plaetekopp with local (Exim 4.72) (envelope-from ) id 1Pwrx6-0001NL-8p for emacs-devel@gnu.org; Tue, 08 Mar 2011 09:07:32 +0100 User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 134.130.7.72 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136872 Archived-At: I'm using now emacs from the trunk (in the signature the full version) and it works wonderfully for everything. The only thing that doesn't work is the gdb. I have an elisp function to call GDB (just a shortcut): --8<---------------cut here---------------start------------->8--- (defun gdb-pad () "Debug the simulation" (interactive) (gdb "gdb -cd=/long/path --annotate=3 --args /long/path/opp_run args")) --8<---------------cut here---------------end--------------->8--- And when I run it I get things like --8<---------------cut here---------------start------------->8--- pre-prompt prompt post-prompt error-begin Undefined command: "1-inferior-tty-set". Try "help". error --8<---------------cut here---------------end--------------->8--- Looks like an error of gdb, this is for completeness the version of gdb on this machine... --8<---------------cut here---------------start------------->8--- GNU gdb (GDB) 7.2-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: . --8<---------------cut here---------------end--------------->8--- Any idea? Is there any emacs-friendly way to navigate in the bug tracking system and see if something is already there about? And by the way is not so easy to find the web interface of the bug tracking system, I only saw it the first time I when I actually reported a bug (dreaming about an org-mode based bug tracking system). Thanks a lot for the great work, Andrea -- GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-03-04 on plaetekopp