Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - (gdb) 1 <<C++-namespaces>>: No such file or directory.: (2 Items)
   
(gdb) 1 <<C++-namespaces>>: No such file or directory.  
The problem relates to remote debugging.

The debuggers being tried :
  GNU gdb 6.8 qnx-nto (rev. 347)
  GNU gdb 6.8 qnx-nto update 5 (rev. 398)

After compiling with apropriate debug flags (GCC_VERSION : 4_3_3), 
instructing gdb about sharedlibraries paths, source code paths,
settinng breakpoints, running target program and stop on first
breakpoint - gdb don't show source code:

. . . . .
Breakpoint 1, 0x081319d0 in main ()
Current language:  auto; currently c++
(gdb) l
        in <<C++-namespaces>>
(gdb) 1 <<C++-namespaces>>: No such file or directory.
(gdb) where
#0  0x081319d0 in main ()
(gdb)
. . . . .

Could anybody comment this strange behaviour 
and suggest the way how to fix it?


Regards,
   Sergey

Re: (gdb) 1 <<C++-namespaces>>: No such file or directory.  
It would be useful to know:

- full output from command "show version"
- output from command "show directories" when stopped at main
- output from nto<targetcpu>-readelf -wl <yourbinary>


Thanks,

Aleksandar