From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: new gdb/gdba code has bug with absolute source filenames Date: Tue, 06 Jan 2004 21:40:55 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <80vfnpqa6s.fsf@isode.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1073422911 11613 80.91.224.253 (6 Jan 2004 21:01:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 21:01:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jan 06 22:01:48 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 1AdyKi-0004Uj-00 for ; Tue, 06 Jan 2004 22:01:48 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdyKh-0000s6-00 for ; Tue, 06 Jan 2004 22:01:48 +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 1AdzCk-0000aU-0f for emacs-devel@quimby.gnus.org; Tue, 06 Jan 2004 16:57:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Adz5F-0005Yk-Cs for emacs-devel@gnu.org; Tue, 06 Jan 2004 16:49:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Adz0Q-00036T-TL for emacs-devel@gnu.org; Tue, 06 Jan 2004 16:45:26 -0500 Original-Received: from [134.76.166.209] (helo=lisa.goe.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Adyy5-0001ey-TF for emacs-devel@gnu.org; Tue, 06 Jan 2004 16:42:30 -0500 Original-Received: from mutter.goe.net (mutter-lisa0.a11.local [192.168.31.26]) by lisa.goe.net (8.12.10/8.12.10) with ESMTP id i06Kevur020979; Tue, 6 Jan 2004 21:40:58 +0100 Original-Received: from whitebox.a11.local ([192.168.31.90] helo=whitebox.as.local) by mutter.goe.net with esmtp (Exim 4.22) id 1Ady0W-0001d5-UK; Tue, 06 Jan 2004 21:40:56 +0100 Original-Received: by whitebox.as.local (Postfix, from userid 500) id EED5C80968; Tue, 6 Jan 2004 21:40:55 +0100 (CET) Original-To: Bruce Stephens X-Yow: Did you move a lot of KOREAN STEAK KNIVES this trip, Dingy? In-Reply-To: <80vfnpqa6s.fsf@isode.com> (Bruce Stephens's message of "Tue, 06 Jan 2004 17:05:47 +0000") 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:19046 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19046 Bruce Stephens writes: > 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=3D3 hello, I see the > assembler code for main rather than C source code. This is because gdb-frame-handler can't handle word wrapping in the ouput of "info frame". Should be fixed now. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."