* gdb-ui problem
@ 2004-12-01 4:00 Sun Yijiang
2004-12-01 21:03 ` Nick Roberts
0 siblings, 1 reply; 3+ messages in thread
From: Sun Yijiang @ 2004-12-01 4:00 UTC (permalink / raw)
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
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. In
fact, I'm working on this feature.
^ permalink raw reply [flat|nested] 3+ messages in thread
* gdb-ui problem
2004-12-01 4:00 gdb-ui problem Sun Yijiang
@ 2004-12-01 21:03 ` Nick Roberts
[not found] ` <5065e29004120117356b09f8d1@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Nick Roberts @ 2004-12-01 21:03 UTC (permalink / raw)
Cc: emacs-devel
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-02 4:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-01 4:00 gdb-ui problem Sun Yijiang
2004-12-01 21:03 ` Nick Roberts
[not found] ` <5065e29004120117356b09f8d1@mail.gmail.com>
2004-12-02 4:09 ` Nick Roberts
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.