public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-sergiodj-stap: enable pending probe breakpoints
@ 2011-02-10 14:25 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2011-02-10 14:25 UTC (permalink / raw)
  To: archer-commits

The branch, archer-sergiodj-stap has been updated
       via  e9ec530391b82ff9a1f416329f16dbe9163f775e (commit)
      from  14d3f1f99d50f1abe79d439c5e2268eb93195011 (commit)

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

- Log -----------------------------------------------------------------
commit e9ec530391b82ff9a1f416329f16dbe9163f775e
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Feb 10 07:24:55 2011 -0700

    enable pending probe breakpoints

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

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

First 500 lines of diff:
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 0a36804..96d2e57 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -28,6 +28,7 @@
 #include "filenames.h"
 #include "value.h"
 #include "bfd/elf-bfd.h"
+#include "exceptions.h"
 
 #include <ctype.h>
 
@@ -357,11 +358,11 @@ parse_stap_probe (char **argptr)
   }
 
   if (result.nelts == 0)
-    /* FIXME: we should allow pending probes somehow.  */
-    error (_("No probe matching objfile=`%s', provider=`%s', name=`%s'"),
-	   objfile_name ? objfile_name : _("<any>"),
-	   provider ? provider : _("<any>"),
-	   name);
+    throw_error (NOT_FOUND_ERROR,
+		 _("No probe matching objfile=`%s', provider=`%s', name=`%s'"),
+		 objfile_name ? objfile_name : _("<any>"),
+		 provider ? provider : _("<any>"),
+		 name);
 
   do_cleanups (cleanup);
 


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


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

only message in thread, other threads:[~2011-02-10 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10 14:25 [SCM] archer-sergiodj-stap: enable pending probe breakpoints 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).