This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

debug information


Hi,

In GDB, functions that accept std::string as argument are shown as
`function_name(std::string)', not as `function_name(std::basic_string<char,...>)'.
As far as I can see, this is written like this in the debug information, not just
simplified by GDB.  So it is a feature of GNU libstdc++ or GCC itself.  Is there
a way to do the same for my own code?  This way debugging would be much easier...

Paul


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