* Problem with ddd and source file visibility
@ 2009-08-04 7:27 Fizzo
2009-08-04 8:03 ` Fizzo
2009-08-08 7:04 ` Baurzhan Ismagulov
0 siblings, 2 replies; 3+ messages in thread
From: Fizzo @ 2009-08-04 7:27 UTC (permalink / raw)
To: gdb
Hello,
I am having a problem using ddd: I cant seem to fix the source file
visibility in ddd.
here is the situation...
I have a project made up of the following components:
- library A in its own directory where source files are split in src and inc
directories
- library B in its own directory where source files are split in src and inc
directories
- the program itself in its own directory where source files are split in in
src and inc directories.
When I debug the executable file I can correctly see the main file (which is
part of the program) and it can debugged fine, until I try to step into a
function listed in library A.
If I open the "Open Source" Dialog, I can see the files being part of the
program, then I can see some header files of library A, but I cant see any
of the source files of library A.
I tried to add the directory both using the gdb 'directory' command from gdb
prompt, and the 'GDB Settings' dialog box of DDD; nevertheless source files
for library A are nowhere to be seen :(
If I try to list a function defined in library A using 'list <FunctionName>'
here is the result:
No line number information available for address 0x.....
As far as I know both executables and libraries have been compiled using the
-ggdb option.
Is there anybody who could give me some hints on how to detect the problem?
If you need additional feel free to ask.
thanks in advance
Have a Nice Day
--
View this message in context: http://www.nabble.com/Problem-with-ddd-and-source-file-visibility-tp24803540p24803540.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with ddd and source file visibility
2009-08-04 7:27 Problem with ddd and source file visibility Fizzo
@ 2009-08-04 8:03 ` Fizzo
2009-08-08 7:04 ` Baurzhan Ismagulov
1 sibling, 0 replies; 3+ messages in thread
From: Fizzo @ 2009-08-04 8:03 UTC (permalink / raw)
To: gdb
Nevermind...
I finally found the problem in Makefile for Library A
--
View this message in context: http://www.nabble.com/Problem-with-ddd-and-source-file-visibility-tp24803540p24803939.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with ddd and source file visibility
2009-08-04 7:27 Problem with ddd and source file visibility Fizzo
2009-08-04 8:03 ` Fizzo
@ 2009-08-08 7:04 ` Baurzhan Ismagulov
1 sibling, 0 replies; 3+ messages in thread
From: Baurzhan Ismagulov @ 2009-08-08 7:04 UTC (permalink / raw)
To: gdb
On Tue, Aug 04, 2009 at 12:27:01AM -0700, Fizzo wrote:
> If I try to list a function defined in library A using 'list <FunctionName>'
> here is the result:
> No line number information available for address 0x.....
Seems that library A doesn't have the necessary debug information.
> If you need additional feel free to ask.
A minimal test case could help.
With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-08 7:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-04 7:27 Problem with ddd and source file visibility Fizzo
2009-08-04 8:03 ` Fizzo
2009-08-08 7:04 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox