From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Gdb in emacs 24 Date: Wed, 09 Mar 2011 23:23:30 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299709424 15431 80.91.229.12 (9 Mar 2011 22:23:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 22:23:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andrea Crotti Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 23:23:40 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 1PxRn9-00080M-R2 for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 23:23:39 +0100 Original-Received: from localhost ([127.0.0.1]:47386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxRn9-00067J-Ah for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 17:23:39 -0500 Original-Received: from [140.186.70.92] (port=45129 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxRn5-00067D-7N for emacs-devel@gnu.org; Wed, 09 Mar 2011 17:23:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxRn3-0004pY-Vd for emacs-devel@gnu.org; Wed, 09 Mar 2011 17:23:35 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:41462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxRn3-0004pO-OI for emacs-devel@gnu.org; Wed, 09 Mar 2011 17:23:33 -0500 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 1EDB8188A188; Wed, 9 Mar 2011 23:23:32 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 81DB41C000B5; Wed, 9 Mar 2011 23:23:32 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id BQ7ehqnIu-is; Wed, 9 Mar 2011 23:23:32 +0100 (CET) Original-Received: from igel.home (ppp-93-104-142-221.dynamic.mnet-online.de [93.104.142.221]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 9 Mar 2011 23:23:31 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 65FC4CA2A0; Wed, 9 Mar 2011 23:23:31 +0100 (CET) X-Yow: Now I need a suntan, a tennis lesson, Annette Funicello and two dozen Day-Glo orange paper jumpsuits!! In-Reply-To: (Andrea Crotti's message of "Tue, 08 Mar 2011 09:07:32 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.10 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:137008 Archived-At: Andrea Crotti writes: > 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): > > (defun gdb-pad () > "Debug the simulation" > (interactive) > (gdb "gdb -cd=/long/path --annotate=3 --args /long/path/opp_run args")) Try using gud-gdb instead. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."