public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-gbenson-stap-rtld: Tabify
@ 2011-06-02 15:02 gary
  0 siblings, 0 replies; only message in thread
From: gary @ 2011-06-02 15:02 UTC (permalink / raw)
  To: archer-commits

The branch, archer-gbenson-stap-rtld has been updated
       via  fed2e75a9cfe778535f99415ff4e3bdb1c9870d0 (commit)
      from  b0774ff66802431b0ec0d0bb6130a412c1045b58 (commit)

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

- Log -----------------------------------------------------------------
commit fed2e75a9cfe778535f99415ff4e3bdb1c9870d0
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu Jun 2 16:02:35 2011 +0100

    Tabify

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

Summary of changes:
 gdb/solib-svr4.c |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

First 500 lines of diff:
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index 8f6be59..6caf22b 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -1355,32 +1355,32 @@ svr4_create_solib_event_breakpoints (struct gdbarch *gdbarch, CORE_ADDR address)
       struct svr4_info *info = get_svr4_info ();
 
       info->pre_mod_probe = find_probe_in_objfile (os->objfile, "rtld",
-                                                   "r_debug_mod_starting");
+						   "r_debug_mod_starting");
 
       info->post_mod_probe = find_probe_in_objfile (os->objfile, "rtld",
-                                                    "r_debug_mod_complete");
+						    "r_debug_mod_complete");
 
       if (info->pre_mod_probe && info->post_mod_probe)
-        {
-          /* The pre-modification probe is triggered before a link map
-             is changed.  This probe isn't used internally, so we only
-             break on it when stop-on-solib-events is on.  */
+	{
+	  /* The pre-modification probe is triggered before a link map
+	     is changed.  This probe isn't used internally, so we only
+	     break on it when stop-on-solib-events is on.  */
 	  info->pre_mod_breakpoint =
 	    create_solib_event_breakpoint (gdbarch,
 					   info->pre_mod_probe->address);
 
-          /* The post-modification probe is triggered whenever a link
-             map has been changed.  We always need to break on this
-             one so we can track libraries being loaded and
-             unloaded.  */
-          /* XXX really?  */
-          create_solib_event_breakpoint (gdbarch,
-                                         info->post_mod_probe->address);
-
-
+	  /* The post-modification probe is triggered whenever a link
+	     map has been changed.  We always need to break on this
+	     one so we can track libraries being loaded and
+	     unloaded.  */
+	  /* XXX really?  */
+	  create_solib_event_breakpoint (gdbarch,
+					 info->post_mod_probe->address);
+	  
+	  
 	  svr4_update_solib_event_breakpoints ();
 	  return;
-        }
+	}
     }
 
   create_solib_event_breakpoint (gdbarch, address);
@@ -1666,7 +1666,7 @@ enable_break (struct svr4_info *info, int from_tty)
       if (sym_addr != 0)
 	{
 	  svr4_create_solib_event_breakpoints (target_gdbarch,
-                                               load_addr + sym_addr);
+					       load_addr + sym_addr);
 	  xfree (interp_name);
 	  return 1;
 	}


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


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

only message in thread, other threads:[~2011-06-02 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-02 15:02 [SCM] archer-gbenson-stap-rtld: Tabify gary

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