gdb shows <<C++-namespaces>>
hello everyone,
i compiled my C++ code with debug information using g++ -g but when i did gdb for a.out for list the code it shows <<C++-namespaces>>. can anyone help me out from this problem.
==================================================
> gdb ./a.out
GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1".
(gdb) l
1 <<C++-namespaces>>: No such file or directory.
in <<C++-namespaces>>
(gdb)
==================================================
Thanks & Regards
Dayalan
|