From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: GUD octave support Date: Mon, 19 Nov 2007 12:18:56 +1300 Message-ID: <18240.51296.172298.847425@kahikatea.snap.net.nz> References: <18240.5887.570947.713431@kahikatea.snap.net.nz> <18240.38683.11115.568911@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195427968 13917 80.91.229.12 (18 Nov 2007 23:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2007 23:19:28 +0000 (UTC) Cc: , Andreas Schwab , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 00:19:34 2007 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.50) id 1IttQI-0004Aq-OS for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 00:19:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IttQ5-0002e8-5m for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 18:19:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IttQ2-0002cz-G8 for emacs-devel@gnu.org; Sun, 18 Nov 2007 18:19:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IttPy-0002U1-Kh for emacs-devel@gnu.org; Sun, 18 Nov 2007 18:19:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IttPy-0002Tq-Gs for emacs-devel@gnu.org; Sun, 18 Nov 2007 18:19:10 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IttPy-00030c-4e for emacs-devel@gnu.org; Sun, 18 Nov 2007 18:19:10 -0500 Original-Received: from kahikatea.snap.net.nz (203.31.255.123.static.snap.net.nz [123.255.31.203]) by viper.snap.net.nz (Postfix) with ESMTP id 829D03DA014; Mon, 19 Nov 2007 12:19:05 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 8CA5F8FC6D; Mon, 19 Nov 2007 12:18:57 +1300 (NZDT) In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.1.50.14 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:83590 Archived-At: > This reminds me of a different problem I've seen with gud and gdb. > > GCC has several files that have the same base name. If I use C-x SPC > to set a breakpoint in one of these, sometimes the breakpoint will > wind up in the wrong file. If you run GDB from the command line, does it DTRT? (I don't think it does) > I think this could be fixed by changing the gud-break binding in > gud-gdb from "break %f:%l" to "break %d%f:%l". I see that M-x dbx does this, and perhaps gud-tbreak, gud-remove and gud-tbreak should be changed too, but I think GDB needs to be fixed first. I guess another solution is for GCC not to use files with the same name, which can presumably lead to confusion elsewhere too. -- Nick http://www.inet.net.nz/~nickrob