This is the mail archive of the gdb-patches@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: [patch/testsuite/c++] test script for PR c++/186


On Sun, 23 Nov 2003 18:00:16 -0500 (EST), mec.gnu@mindspring.com (Michael Elizabeth Chastain) said:

> Hmmm, my test would be more clear if I made B::~B write something into
> the data fields.  I will do that.

If we're worried about optimizing compiliers, then I bet this would
make the script more fragile.  But I suppose that's mostly irrelevant
for purposes of the test suite.

> I will also add some tests like this:

>   A alpha;
>   ...
>   (gdb) print (B *) α

> I think that's actually the heart and these issues with destructors
> and scope are peripheral.

Yeah, that's a good idea.

David Carlton
carlton@kealia.com


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