--- Comment #14 from jason at gcc dot gnu dot org 2008-08-29 16:09 ---
Dodji is right: since the variable is shared between all concrete instances,
there is no need to repeat anything about it in the concrete instance. The
debugger should find the information it wants in the abstract in
--- Comment #13 from dodji at gcc dot gnu dot org 2008-08-29 14:41 ---
Created an attachment (id=16162)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16162&action=view)
The debug info of the program
Okay, here is a more accurate analysis. I will refer to the debug info
attached.
--- Comment #12 from dodji at gcc dot gnu dot org 2008-08-29 09:58 ---
This is an update of what we get with gcc-4_3-branch.
For the program (line numbers added for better legibility):
1 #include
2 class A {
3 public:
4A (int a, int b);
5int a_;
--- Comment #11 from le dot ben dot smith at gmail dot com 2008-08-27
23:26 ---
I just noticed this problem with gcc 4.3.0. I'm not familiar with compiler
internals, so I don't understand all the details of the previous comments. It
sounds like this is a gdb bug then... Is that corre
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-01-13 15:43
---
Unclear status of this bug. Removing target milestone.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #9 from pinskia at gmail dot com 2007-08-24 16:51 ---
Subject: Re: Local static variable in C++ constructor not visible for
debugging
On 24 Aug 2007 16:45:41 -, nikolay at totalviewtech dot com
<[EMAIL PROTECTED]> wrote:
> What do you mean?
The IA64 C++ ABI requires tw
On 24 Aug 2007 16:45:41 -, nikolay at totalviewtech dot com
<[EMAIL PROTECTED]> wrote:
> What do you mean?
The IA64 C++ ABI requires two (or three) versions of constructor. So
GCC "clones" functions to deal with that. And we emit the context of
the local static variable part of the original
--- Comment #8 from nikolay at totalviewtech dot com 2007-08-24 16:45
---
(In reply to comment #7)
> This all comes down to cloning.
>
What do you mean?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-08-24 16:14 ---
This all comes down to cloning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044
--- Comment #6 from seppo at totalviewtech dot com 2007-08-24 13:52 ---
Hi Andrew,
Reopened the bug (see comment above). Do also notice that the (due to the
above) static foofoo inside constructor is still not visible to either TV or
gdb.
I have changed the title of the bug to reflect
10 matches
Mail list logo