This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Breakpoints in ctor and gcc 3.x
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Cedric dot Pillonel at swisscom dot com
- Cc: gdb at sources dot redhat dot com, gdb-prs at sources dot redhat dot com
- Date: Wed, 1 Oct 2003 10:09:46 -0400
- Subject: Re: Breakpoints in ctor and gcc 3.x
- References: <57CE6CB990693A478C1106BBC91398BA7D559D@sxmbx04.corproot.net>
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