From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geralt Newsgroups: gmane.emacs.help Subject: Problems with gdb and program files in another directory than current working directory Date: Tue, 21 Jul 2009 17:29:42 +0200 Message-ID: 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 1248190507 23791 80.91.229.12 (21 Jul 2009 15:35:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2009 15:35:07 +0000 (UTC) To: Emacs Help List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 21 17:35:00 2009 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 1MTHMp-0005do-Om for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Jul 2009 17:35:00 +0200 Original-Received: from localhost ([127.0.0.1]:36445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTHMp-0002Ie-4X for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Jul 2009 11:34:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTHHr-00081Q-Rr for help-gnu-emacs@gnu.org; Tue, 21 Jul 2009 11:29:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTHHn-0007z9-BN for help-gnu-emacs@gnu.org; Tue, 21 Jul 2009 11:29:51 -0400 Original-Received: from [199.232.76.173] (port=39144 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTHHn-0007z5-5z for help-gnu-emacs@gnu.org; Tue, 21 Jul 2009 11:29:47 -0400 Original-Received: from mail-fx0-f223.google.com ([209.85.220.223]:63270) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTHHm-0005xr-P8 for help-gnu-emacs@gnu.org; Tue, 21 Jul 2009 11:29:46 -0400 Original-Received: by fxm23 with SMTP id 23so714311fxm.42 for ; Tue, 21 Jul 2009 08:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=7FMPcyeXAb03KwsEs9/4ZvK4K/BITPyH97cbmCbo6Kk=; b=Km/OSljkaCYcPeOM7z+O+NYsMz4AFg6C/8piKbYwuwVnXjZr9PxdJK5AG8RDZWXZlc O6kKPz73FzjhreKD2YvXvIDk+JHeFGbM3arEs9SqJd8nrO8myh1Wa19s3cDpeQS9QnhB tbQNeFhasyFDHpzyXgbDubveApgwsHb0BXDo8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=CO/PKqpDdJGrw4jsOwvUwNJpedBySE1t3+rptPHPLx9quuwdkY+PambxGQ6DCdMrZ6 hHdyoNFAtgpmu7KXA90XOOnAmR8GPi+H1kE5oQfMW5gOTuyM4B1EzJ4m92ZSLYOjYsxX ncwDIGnKq8GYLVH6nO8bevzzuAAlItKBe2thM= Original-Received: by 10.204.100.11 with SMTP id w11mr5563939bkn.32.1248190182306; Tue, 21 Jul 2009 08:29:42 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:66312 Archived-At: Hi, when running gdb on a program in a subdirectory (like gdb -mi debug/myprogram) and the source files sitting in the current working I get always the following output, after setting a breakpoint: Breakpoint 1 at 0x8048c87: file foobar.c, line 52. (gdb) No source file named . <--------- point is now here Is there a way to solve this? When running gdb in a terminal I don't have this problem. Geralt.