This is the mail archive of the gdb-patches@sourceware.org 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] Fix mi "-var-create" regression


>>>>> "Luis" == Luis Machado <lgustavo@codesourcery.com> writes:

Luis> I thought about this for a while, and the best testing mechanism seems
Luis> to be just turning the "print object" option on by default and running
Luis> the entire testsuite, otherwise this test will be very specific to the
Luis> -var-create mechanism.

I think you'd see a lot of failures doing this.

FWIW I think 'set print object on' should be the default.
It is a FAQ for C++ programmers.
However, I think this would require a lot of annoying test suite
hacking.

Luis> If we're thinking about a regression coverage test, then i agree that
Luis> a test is appropriate in this case, so we can be sure it will never
Luis> happen again.

I think a regression test is both necessary and sufficient.

Tom


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