This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to setup a breakpoint on constructor


> Date: Sun, 18 Jul 2004 15:03:16 -0400 (EDT)
> From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
> 
> What does 'print &A::A()' print?
> 
> What does 'disassemble A::A()' print?

Okay, but these have nothing to do with setting a breakpoint on
A::A().  Moreover, I think these two usages are much more rare than
"break A::A()" (I wonder how many users even know about the former,
for example).

So I don't think these issues should prevent us from using the patch.

> There's an assumption in some of gdb's commands that one source code
> address maps to one object code address.  The UI has to acknowledge
> that some source code addresses map to multiple object code addresses.

We could fix these problems later, as we discover them.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]