Re: [opensuse] Re: Odd behavior when printing a local variable in gdb
- From: Bogdan Cristea <cristeab@xxxxxxxxx>
- Date: Thu, 20 Aug 2009 07:24:00 +0300
On Thursday 20 August 2009 00:35:51 Philipp Thomas wrote:
On Wed, 19 Aug 2009 14:52:18 +0200, you wrote:
Actually there seems to be a bug in gcc4.3 compiler not allowing to print
local variables from C++ constructors
To rule out that the compiler has simply optimized out the variable
compile the code with -O0 which will disable all optimizations. If the
variable is still invisible to gdb you should file a bug for gcc (see
the opensuse wiki for how to report gcc bugs).
Philipp
This bug has already been signaled to the gcc team and it seems to be
corrected in g++4.4
Bogdan
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Odd behavior when printing a local variable in gdb
- From: Bogdan Cristea
- [opensuse] Re: Odd behavior when printing a local variable in gdb
- From: Bogdan Cristea
- [opensuse] Re: Odd behavior when printing a local variable in gdb
- From: Philipp Thomas
- [opensuse] Odd behavior when printing a local variable in gdb
- Prev by Date: [opensuse] THUNDERBIRD - warning to users
- Next by Date: Re: [opensuse] Sound
- Previous by thread: [opensuse] Re: Odd behavior when printing a local variable in gdb
- Next by thread: [opensuse] Update Hylafax 4.4 to 6.03 with src.rpm on OpenSuSE 10.3
- Index(es):
Relevant Pages
|