Age | Commit message (Collapse) | Author | Files | Lines |
|
* c-exp.y (name_not_typename): Add 'operator' clause.
gdb/testsuite
* gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
* gdb.cp/userdef.cc (operator==): New function.
(main): New locals mem1, mem2.
|
|
Automatic update by copyright.sh.
|
|
|
|
|
|
Switch the license of all .h files to GPLv3.
Switch the license of all .cc files to GPLv3.
|
|
|
|
* eval.c (evaluate_subexp_for_address): Don't incorrectly discard
calls to C++ operator*.
gdb/testsuite/
* gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
operator*.
|
|
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
gdb.trace/tfind.exp: Update copyright years.
|
|
* c-exp.y (exp): Add unary plus.
* eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
* valarith.c (value_x_unop): Add UNOP_PLUS case.
(value_pos): New.
* value.h (value_pos): Declare.
* gdb.cp/userdef.cc (A1::operator+): New unary plus.
(A2): New class.
(main): Test operator+.
* gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
breakpoint test.
|
|
* gdb.cp/userdef.cc: Add copyright notice.
|
|
* gdb.cp: New directory.
* gdb.cp/*: Copy from gdb.c++/*.
* gdb.c++/*: Remove.
* Makefile.in: Change gdb.c++ to gdb.cp.
* configure.in: Ditto.
* configure: Regnerate.
|