Breakpoints in ctor and gcc 3.x

Daniel Jacobowitz drow@mvista.com
Wed Oct 1 14:48:00 GMT 2003


On Wed, Oct 01, 2003 at 08:37:37AM +0200, Cedric.Pillonel@swisscom.com wrote:
> GCC doesn't stop on breakpoints in C++ constructors or destructors.
> I'm using gcc 3.2 and gdb 5.2.1. I know it is a known bug with gcc 3.x.
> 
> This bug is old and I'm surprised that it still has not been fixed !!!
> Is there any workaround?
> When will it be fixed ? I think it is a serious one since you can't debug your ctor or dtor !

I have hopes to fix it for 6.1.  But like everything else in GDB, it
gets fixed when someone has both time and motivation to do it.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list