From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Moreau" Newsgroups: gmane.emacs.help Subject: Re: Emacs doesn't show source file when debugging with GDB Date: Thu, 15 May 2008 14:00:56 +0200 Message-ID: <38b2ab8a0805150500k109e82ebsc336ef0505e6ab88@mail.gmail.com> References: <38b2ab8a0805150258l6c897a1ewd608926f73db2b0f@mail.gmail.com> <18476.7066.285885.346581@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210852976 17333 80.91.229.12 (15 May 2008 12:02:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 12:02:56 +0000 (UTC) Cc: gnu-emacs-help@gnu.org To: "Nick Roberts" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 14:03:26 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwcAp-0000It-9R for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 14:03:03 +0200 Original-Received: from localhost ([127.0.0.1]:52951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwcA6-0006Ak-3W for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 08:02:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jwc8w-0005pN-GF for help-gnu-emacs@gnu.org; Thu, 15 May 2008 08:01:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jwc8s-0005oL-KB for help-gnu-emacs@gnu.org; Thu, 15 May 2008 08:01:05 -0400 Original-Received: from [199.232.76.173] (port=53077 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwc8s-0005oD-2O for help-gnu-emacs@gnu.org; Thu, 15 May 2008 08:01:02 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:60954) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jwc8r-0004lK-MM for help-gnu-emacs@gnu.org; Thu, 15 May 2008 08:01:01 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:34743 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jwc7q-0002fo-Rj for gnu-emacs-help@gnu.org; Thu, 15 May 2008 07:59:58 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jwc8n-0004k5-C6 for gnu-emacs-help@gnu.org; Thu, 15 May 2008 08:01:01 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.249]:24022) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jwc8n-0004jn-2K for gnu-emacs-help@gnu.org; Thu, 15 May 2008 08:00:57 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so517544rvb.6 for ; Thu, 15 May 2008 05:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/Qv5yVTW82dcP93q7yK2wAtAmCx4oIiZ0y10DCV5vjg=; b=RQB4PI9I3OiEarc6K144LFRBwLSfQ+ZO+hc0KQl4/VDYJXnz+JvILHtaINLSRn9bkAphkQrSI7Y33LgZne+DVdHZuDWtp3m7GNen5pCmsgsc7lEXEAB5VPCkEPqADQrSIe4AnPZu3pFqmn+zzJvWHcArvm7mJ6Ef2f3nzhjPq3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=wV5MfWDUwn82RvynT9OAeVOSWYvFxa4cmjeWAFek+6SmYeiX4Ar9a8mrHRghgdWOI6coO5WfUdZb2BpJrJfpTAfzh8qexSazgQa9OTJeCAWRF+9XbzzM6xfJSPggWe9x6R2aDOb3VTXGuBirnHPIGwuMf32G4UZ9EjvjZB3TomA= Original-Received: by 10.141.211.13 with SMTP id n13mr1087917rvq.12.1210852856027; Thu, 15 May 2008 05:00:56 -0700 (PDT) Original-Received: by 10.140.147.1 with HTTP; Thu, 15 May 2008 05:00:55 -0700 (PDT) In-Reply-To: <18476.7066.285885.346581@kahikatea.snap.net.nz> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54009 Archived-At: On Thu, May 15, 2008 at 1:16 PM, Nick Roberts wrote: [ snip ] > How do you run Gdb? Hopefully like this: > > Run gdb (like this): gdb --annotate=3 myprog > nope. It's a custom line that call a script which in turn initialize some devices before launching gdb. But --annotate option is missing anyways. After I added it, I now have this in emacs when it tries to show the source code: error in process filter: Phase error in gdb-pre-prompt (got pre-emacs) Do you know what's wrong now ? > If you remove the --annotate=3 option, Emacs will behave as you describe. Well it worked before though. Thanks -- Francis