This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB supporting namespace std?


>>>>> "AC" == Andrew Cagney <ac131313@cygnus.com> writes:

   AC> Chan Shih-Ping wrote:
   >> 
   >> Does GDB support the use of namespace std::,
   >> code compiled with -fhonor-std (and an
   >> appropriately compiled libgcc.a) and using
   >> std::string s.
   >> 
   >> However attempts at using
   >> print s.size
   >> 
   >> gives messages like
   >> Couldn't find method string::size()

   AC> Given that no one has responded, I'd suspect the answer to be no.
   AC> It sounds like a good problem to peruse.

Depends on how you look at it.
With DWARF2, and my overload resolution patch, this should work perfectly
fine.
With STABS, you need a patch i'm working on as we speak (It works, i'm just
trying to see if their is anything i'm missing).

Assuming mangling and everything is working fine, namespaces should have no
problem.
If they do, i'll make them have no problems.
:)

   AC> 	Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]