core dumped

Benjamin Kosnik bkoz@redhat.com
Tue Aug 5 00:18:00 GMT 2008


 
> 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



More information about the Libstdc++ mailing list