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]

Re: core dumped


 
> I am debugging a core. I find that it fails at a cout statement. When
> i see into that machine there is no /usr/include/c++ directory at
> all. 
> 
> But when i debug the core it shows the file name
> /usr/include/c++/ext/mt_allocator.h. how can that be possible?? ( Iam
> debugging on a different machine)

You are probably seeing debug information in the executable, which
includes such information as file names, etc. This information is from
 (and relevant to) the machine that compiled the executable, which did
have a populated /user/include/c++/* directory.

-benjamin


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