This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: core dumped
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 4 Aug 2008 17:17:57 -0700
- Subject: Re: core dumped
- References: <18780937.post@talk.nabble.com>
> 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