unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Geralt <usr.gentoo@googlemail.com>
To: Emacs Help List <help-gnu-emacs@gnu.org>
Subject: Problems with gdb and program files in another directory than current working directory
Date: Tue, 21 Jul 2009 17:29:42 +0200	[thread overview]
Message-ID: <fbdd0e50907210829s506a2c8bg370200b4990b2b73@mail.gmail.com> (raw)

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.




             reply	other threads:[~2009-07-21 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21 15:29 Geralt [this message]
     [not found] <mailman.2917.1248190194.2239.help-gnu-emacs@gnu.org>
2009-07-21 17:24 ` Problems with gdb and program files in another directory than current working directory Dmitry Dzhus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fbdd0e50907210829s506a2c8bg370200b4990b2b73@mail.gmail.com \
    --to=usr.gentoo@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).