This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 37fbcad0beb1a512efb5bc26071df5c12b5408cd
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 6 Dec 2013 16:18:27 -0000
- Subject: gdb and binutils branch master updated. 37fbcad0beb1a512efb5bc26071df5c12b5408cd
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 37fbcad0beb1a512efb5bc26071df5c12b5408cd (commit)
from 16b5a7cbaee2764f3e1be6772dbe1156c28daf1d (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=37fbcad0beb1a512efb5bc26071df5c12b5408cd
commit 37fbcad0beb1a512efb5bc26071df5c12b5408cd
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Dec 2 12:13:29 2013 -0700
remove some sym_probe_fns methods
While looking into the probe API, it seemed to me that there were a
number of methods in sym_probe_fns that were not needed. This patch
removes them.
Specifically, it seems to me that sym_probe_fns ought to be concerned
with the API for constructing the probes. Any method relating to some
aspect of an individual probe can be handled via the probe's own
vtable. That is, the double indirection here doesn't seem useful --
it certainly isn't in fact used, but also I couldn't think of a
potential use.
2013-12-06 Tom Tromey <tromey@redhat.com>
* break-catch-throw.c (fetch_probe_arguments): Use
get_probe_argument_count and evaluate_probe_argument.
* elfread.c (elf_get_probe_argument_count)
(elf_can_evaluate_probe_arguments, elf_evaluate_probe_argument)
(elf_compile_to_ax): Remove.
(elf_probe_fns): Update.
* probe.c (get_probe_argument_count, can_evaluate_probe_arguments)
(evaluate_probe_argument): Call method on probe, not via sym
functions.
* stap-probe.c (compute_probe_arg): Use get_probe_argument_count,
evaluate_probe_argument.
(compile_probe_arg): Use get_probe_argument_count. Call method on
probe, not via sym functions.
* symfile-debug.c (debug_sym_get_probe_argument_count)
(debug_can_evaluate_probe_arguments)
(debug_sym_evaluate_probe_argument, debug_sym_compile_to_ax):
Remove.
(debug_sym_probe_fns): Remove.
* symfile.h (struct sym_probe_fns) <sym_get_probe_argument_count,
can_evaluate_probe_arguments, sym_evaluate_probe_argument,
sym_compile_to_ax>: Remove fields.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 24 ++++++++++++++
gdb/break-catch-throw.c | 11 ++-----
gdb/elfread.c | 42 ------------------------
gdb/probe.c | 33 ++-----------------
gdb/stap-probe.c | 20 ++---------
gdb/symfile-debug.c | 80 -----------------------------------------------
gdb/symfile.h | 34 --------------------
7 files changed, 34 insertions(+), 210 deletions(-)
hooks/post-receive
--
gdb and binutils