Re: How to setup a breakpoint on constructor

Eli Zaretskii
2004-07-19T03:54:22Z

> 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.