From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Stephens Newsgroups: gmane.emacs.devel Subject: new gdb/gdba code has bug with absolute source filenames Date: Tue, 06 Jan 2004 17:05:47 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <80vfnpqa6s.fsf@isode.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073409794 11655 80.91.224.253 (6 Jan 2004 17:23:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 17:23:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jan 06 18:23:08 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aduv5-0003Wy-00 for ; Tue, 06 Jan 2004 18:23:07 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aduv5-0006G7-00 for ; Tue, 06 Jan 2004 18:23:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdviR-0000lU-W4 for emacs-devel@quimby.gnus.org; Tue, 06 Jan 2004 13:14:07 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Advcd-0007Dj-AG for emacs-devel@gnu.org; Tue, 06 Jan 2004 13:08:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Advc2-000708-22 for emacs-devel@gnu.org; Tue, 06 Jan 2004 13:08:01 -0500 Original-Received: from [62.3.217.251] (helo=rufus.isode.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Advc1-0006xu-Bs for emacs-devel@gnu.org; Tue, 06 Jan 2004 13:07:29 -0500 Original-Received: from tiny.isode.com (shiny.isode.com [62.3.217.250]) by rufus.isode.com via TCP (with SMTP (internal)) with ESMTP for ; Tue, 6 Jan 2004 17:06:43 +0000 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19044 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19044 With a file (whose contents don't matter much) hello.c in /tmp. gcc -g3 -o hello hello.c Then I can debug hello fine with the new M-x gdb. If I compile it thus: gcc -g3 -o hello /tmp/hello.c then when I do M-x gdb, and select gdb --annotate=3 hello, I see the assembler code for main rather than C source code. Obviously this is only a minor bug---overall the new modes are very nice, even compared to the very usable previous version.