public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-sergiodj-stap: error if no AX compilation function is given this is temporary until we implement this
@ 2011-03-17 19:28 tromey
0 siblings, 0 replies; only message in thread
From: tromey @ 2011-03-17 19:28 UTC (permalink / raw)
To: archer-commits
The branch, archer-sergiodj-stap has been updated
via 78e2c2646895feb9ba33b8266345dba9840e7666 (commit)
from 8fed9947347921e703b14558a062699a1ba8b563 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 78e2c2646895feb9ba33b8266345dba9840e7666
Author: Tom Tromey <tromey@redhat.com>
Date: Thu Mar 17 13:34:04 2011 -0600
error if no AX compilation function is given
this is temporary until we implement this
-----------------------------------------------------------------------
Summary of changes:
gdb/stap-probe.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
First 500 lines of diff:
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 90c6c4f..ad4e754 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -1663,6 +1663,9 @@ compile_probe_arg (struct internalvar *ivar, struct agent_expr *expr,
error (_("Invalid probe argument %d -- probe has %d arguments available"),
sel, n_probes);
+ /* FIXME: this is temporary until AX translation is implemented. */
+ if (!objfile->sf->sym_probe_fns->sym_compile_to_ax)
+ error (_("cannot translate `$_probe_arg%d' to bytecode"), sel);
objfile->sf->sym_probe_fns->sym_compile_to_ax (objfile, pc_probe,
expr, value, sel);
}
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-17 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-17 19:28 [SCM] archer-sergiodj-stap: error if no AX compilation function is given this is temporary until we implement this tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).