all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: gdb-ui problem
Date: Thu, 2 Dec 2004 10:03:07 +1300	[thread overview]
Message-ID: <16814.12683.163550.573169@farnswood.snap.net.nz> (raw)
In-Reply-To: <5065e29004113020007fdd4d76@mail.gmail.com>

 > When debug a large project, source files maybe in different
 > directories againt the executable.  gdb can point out where these
 > files locates, but gdb-ui simply find the source files under current
 > working directory, and if there is none, it will create one.

I think GDB will find these files if the program has been compiled with
the DWARF 2 debugging format. If the operating system uses stabs (or possibly
COFF) it won't.

 >  I think this needs to be fixed, gdb-ui's behavior should be like ddd, who
 > will ask gdb for file paths it cannot find under current directory.

What version are you using? I can't see this feature in GNU DDD 3.3.1.

 > In fact, I'm working on this feature.

Yes, please do. I'm not sure how it should be done because GDB's output "No
such file or directory." is not wrapped in any annotations, so it could
conceivably come from the program being debugged. Also note that you may have
to sign papers before your changes can be included in Emacs.

Nick

  reply	other threads:[~2004-12-01 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01  4:00 gdb-ui problem Sun Yijiang
2004-12-01 21:03 ` Nick Roberts [this message]
     [not found]   ` <5065e29004120117356b09f8d1@mail.gmail.com>
2004-12-02  4:09     ` Nick Roberts

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

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

  git send-email \
    --in-reply-to=16814.12683.163550.573169@farnswood.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.