This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 233e8b28cf7b548ca197a7a6d9bf5f9ce80053ac
- From: sivachandra at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 3 Jun 2014 16:56:06 -0000
- Subject: gdb and binutils branch master updated. 233e8b28cf7b548ca197a7a6d9bf5f9ce80053ac
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 233e8b28cf7b548ca197a7a6d9bf5f9ce80053ac (commit)
from e81e7f5e38bf0da52d9e88a94e4df9aeecd80357 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=233e8b28cf7b548ca197a7a6d9bf5f9ce80053ac
commit 233e8b28cf7b548ca197a7a6d9bf5f9ce80053ac
Author: Siva Chandra <sivachandra@chromium.org>
Date: Tue May 20 06:41:39 2014 -0700
Lookup and invoke debug methods of C++ classes if they are the best match.
* eval.c (evaluate_subexp_standard): Call the xmethod if the
best match method returned by find_overload_match is an xmethod.
* valarith.c (value_x_binop, value_x_unop): Call the xmethod if
the best matching operator returned by find_overload_match is an
xmethod.
* valops.c: #include "extension.h".
(find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
Return void. The list of matching source methods is returned in
"fn_list" and a vector of matching debug method workers is
returned in "xm_worker_vec". Update all callers.
(value_find_oload_method_list): Likewise.
(find_oload_champ): Add "xm_worker_vec" parameter. If it is
non-NULL, then the index of the best matching method in this
vector is returned. Update all callers.
(find_overload_match): Include xmethods while performing overload
resolution.
-----------------------------------------------------------------------
Summary of changes:
gdb/eval.c | 15 ++-
gdb/valarith.c | 21 ++++-
gdb/valops.c | 312 +++++++++++++++++++++++++++++++++++++++++--------------
3 files changed, 260 insertions(+), 88 deletions(-)
hooks/post-receive
--
gdb and binutils