Re: linux programming
- From: hotmail_spam@xxxxxxxxxxx (Martin Jørgensen)
- Date: Thu, 31 Aug 2006 20:47:56 +0200
Joe Pfeiffer <pfeiffer@xxxxxxxxxxx> writes:
hotmail_spam@xxxxxxxxxxx (Martin Jørgensen) writes:
I'm not sure whether or not this is on-topic here, but I've downloaded a
C++ program for linux and compiled it. I also compiled gcc. But when I
debug into the program using gdb (actually ddd) it also steps into the
source code for the compiler... How to avoid that, if possible?
Are you sure? Or has it maybe started stepping through the macroes in
the standard template library? No way to avoid that, that I know of...
Oh, perhaps thats what it did then... I'm relatively new with linux
programming. I just saw that the title frame window changed it's file
name location to something inside
....linuxSrc/gcc-4.1.1-obj/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:283:9689:beg:0xb74b4176
- whatever that means....
And then I see strange and weird code like this:
template<typename _CharT, typename _Traits, typename _Alloc>
basic_string<_CharT, _Traits, _Alloc>::
basic_string(const basic_String& __str)
: _M_dataplus(__str._M_rep()->_M_grab(_Alloc(__str.get_allocator()),
__str.get_allocator()),
__str.get_allocator())
{}
etc.etc.etc.... And I find *that* really confusing... Is is just
stepping into the macros in the STL?
Best regards
Martin Jørgensen
--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk
.
- Follow-Ups:
- Re: linux programming
- From: David Schwartz
- Re: linux programming
- References:
- linux programming
- From: Martin Jørgensen
- Re: linux programming
- From: Joe Pfeiffer
- linux programming
- Prev by Date: Re: linux programming
- Next by Date: Re: linux programming
- Previous by thread: Re: linux programming
- Next by thread: Re: linux programming
- Index(es):
Relevant Pages
|