emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb-ui problem


From: Nick Roberts
Subject: gdb-ui problem
Date: Thu, 2 Dec 2004 10:03:07 +1300

 > 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 via email to

[Prev in Thread] Current Thread [Next in Thread]