public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-sergiodj-stap-patch-split: Numeric constants have the sign after the prefix
@ 2011-08-23 19:56 sergiodj
  0 siblings, 0 replies; only message in thread
From: sergiodj @ 2011-08-23 19:56 UTC (permalink / raw)
  To: archer-commits

The branch, archer-sergiodj-stap-patch-split has been updated
       via  51bc080cc381dc4b981222439265bdf2773ab67d (commit)
      from  52d70f2536170c6ec606f34eb6429acf20170025 (commit)

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

- Log -----------------------------------------------------------------
commit 51bc080cc381dc4b981222439265bdf2773ab67d
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date:   Tue Aug 23 16:55:54 2011 -0300

    Numeric constants have the sign after the prefix

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

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

First 500 lines of diff:
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index fb51781..247532e 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -183,6 +183,10 @@ stap_parse_arg (const char **arg, struct gdbarch *gdbarch)
 	  /* This is a numeric literal.  */
 	  cur += const_prefix_len;
 
+	  /* Unary operations on constants.  */
+	  if (*cur == '-' || *cur == '~')
+	    ++cur;
+
 	  if (!isdigit (*cur))
 	    continue;
 


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


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

only message in thread, other threads:[~2011-08-23 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 19:56 [SCM] archer-sergiodj-stap-patch-split: Numeric constants have the sign after the prefix 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).