This is the mail archive of the 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: [RFA/c++testsuite] New test for constructor breakpoints

On Fri, Feb 15, 2002 at 06:50:05PM -0600, Michael Elizabeth Chastain wrote:
> This patch is declined for now, because I believe there is still controversy
> about the right thing to do for overloaded constructors and destructors.
> (And I am a party to that controversy ... so someone admonish please me if
> I start getting thickheaded).

Let me clarify terminology, please.

The patch tests _overloaded_ constructors.  The bug, however, is with
_cloned_ constructors.  Not the same thing at all.  Cloned constructors
are not user-visible objects; they only differ in that they use
different offsets into the object based on whether it is a baseclass or
the principal object.

The test should definitely pass as-written, in my opinion, possibly
with a few additional words added to the output but not with more menu
choices.  This is an implementation detail that we may want to show to
users but we should avoid requiring their knowledge of it at all

> Michael C
> ===
> 2002-02-14  Daniel Jacobowitz  <>
> 	* gdb.c++/ovldbreak.exp: Test breakpoints on the constructors.

Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

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