public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: tromey@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-sergiodj-stap: error if no AX compilation function is given this is temporary until we implement this
Date: Thu, 17 Mar 2011 19:28:00 -0000	[thread overview]
Message-ID: <20110317192818.10441.qmail@sourceware.org> (raw)

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.


                 reply	other threads:[~2011-03-17 19:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110317192818.10441.qmail@sourceware.org \
    --to=tromey@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).