This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: breakpoints/1228: Cannot set breakpoints for (some)functions member of a class
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 29 May 2003 01:58:01 -0000
- Subject: Re: breakpoints/1228: Cannot set breakpoints for (some)functions member of a class
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR breakpoints/1228; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: liciud@yahoo.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: breakpoints/1228: Cannot set breakpoints for (some)functions member of a class
Date: Wed, 28 May 2003 21:53:16 -0400
On Thu, May 29, 2003 at 12:33:53AM -0000, liciud@yahoo.com wrote:
>
> >Number: 1228
> >Category: breakpoints
> >Synopsis: Cannot set breakpoints for (some)functions member of a class
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: change-request
> >Submitter-Id: net
> >Arrival-Date: Thu May 29 00:38:00 UTC 2003
> >Closed-Date:
> >Last-Modified:
> >Originator: liciud@yahoo.com
> >Release: gdb 4.8.11
> >Organization:
> >Environment:
> redhat 6.2
> >Description:
> Hi,
>
> I dont' know if this is the right place to ask for help; if it's not, just let me know where I should ..
>
> I have a WEIRD behaviour of gdb: I cannot set breakpoints for some function members (while I can do for other functions member of the same class).
> 'nm' command shows me that the functions causing the problem are defined in the object file.
>
> Unfortunately, the source is really big; I won't put any attachment; I would like to know if there's someone who had the same problem before and, of course, how to solve it.
>
> Thanks,
>
> Dragos.
Red Hat 6.2 is extremely old, and I don't even know what GDB 4.8.11 is.
Please try a recent version of GDB, either 5.3 or a CVS snapshot. See
http://sources.redhat.com/gdb/ .
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer