public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-sergiodj-stap: Calling `error' when the user tries to use && and || operators.
@ 2011-03-20 23:24 sergiodj
  0 siblings, 0 replies; only message in thread
From: sergiodj @ 2011-03-20 23:24 UTC (permalink / raw)
  To: archer-commits

The branch, archer-sergiodj-stap has been updated
       via  717d87c53d0faeb289cc818c5568befaa31edff6 (commit)
      from  fbdebe3724cc56ea4cca3dc836afe64ef37df27e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 717d87c53d0faeb289cc818c5568befaa31edff6
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date:   Sun Mar 20 20:23:39 2011 -0300

    Calling `error' when the user tries to use && and || operators.

-----------------------------------------------------------------------

Summary of changes:
 gdb/stap-probe.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

First 500 lines of diff:
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 30fb088..a3ef153 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -662,7 +662,6 @@ stap_opcode_to_ax (struct stap_evaluation_info *eval_info,
       break;
 
     case BINOP_DIV:
-      /* FIXME: Should we sign-extend the operands?  */
       ax_simple (expr, aop_div_signed);
       break;
 
@@ -671,7 +670,6 @@ stap_opcode_to_ax (struct stap_evaluation_info *eval_info,
       break;
 
     case BINOP_LESS:
-      /* FIXME: Should we sign-extend the operands?  */
       ax_simple (expr, aop_less_signed);
       break;
 
@@ -712,8 +710,7 @@ stap_opcode_to_ax (struct stap_evaluation_info *eval_info,
       break;
      
     case BINOP_LOGICAL_OR:
-      /* FIXME: ????? */
-//      ax_simple (expr, aop_
+      error (_("Operator logical-or (`||') not supported yet."));
       break;
 
     case BINOP_BITWISE_AND:
@@ -721,7 +718,7 @@ stap_opcode_to_ax (struct stap_evaluation_info *eval_info,
       break;
 
     case BINOP_LOGICAL_AND:
-      /* FIXME: ???? */
+      error (_("Operator logical-and (`&&') not supported yet."));
       break;
 
     case BINOP_BITWISE_XOR:


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-20 23:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-20 23:24 [SCM] archer-sergiodj-stap: Calling `error' when the user tries to use && and || operators sergiodj

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).