Split size in regset section iterators
[deliverable/binutils-gdb.git] / gdb / dtrace-probe.c
index d70a704aa49fc8014e845fb788884c66ea60c5d0..fa4e06e794719a1c20030bdc7b7d365fa5b2794b 100644 (file)
@@ -607,8 +607,7 @@ dtrace_process_dof (asection *sect, struct objfile *objfile,
   return;
          
  invalid_dof_data:
-  complaint (&symfile_complaints,
-            _("skipping section '%s' which does not contain valid DOF data."),
+  complaint (_("skipping section '%s' which does not contain valid DOF data."),
             sect->name);
 }
 
@@ -779,7 +778,7 @@ dtrace_probe::enable ()
 
   /* Enabling a dtrace probe implies patching the text section of the
      running process, so make sure the inferior is indeed running.  */
-  if (ptid_equal (inferior_ptid, null_ptid))
+  if (inferior_ptid == null_ptid)
     error (_("No inferior running"));
 
   /* Fast path.  */
@@ -803,7 +802,7 @@ dtrace_probe::disable ()
 
   /* Disabling a dtrace probe implies patching the text section of the
      running process, so make sure the inferior is indeed running.  */
-  if (ptid_equal (inferior_ptid, null_ptid))
+  if (inferior_ptid == null_ptid)
     error (_("No inferior running"));
 
   /* Fast path.  */
@@ -858,8 +857,7 @@ dtrace_static_probe_ops::get_probes (std::vector<probe *> *probesp,
          /* Read the contents of the DOF section and then process it to
             extract the information of any probe defined into it.  */
          if (!bfd_malloc_and_get_section (abfd, sect, &dof))
-           complaint (&symfile_complaints,
-                      _("could not obtain the contents of"
+           complaint (_("could not obtain the contents of"
                         "section '%s' in objfile `%s'."),
                       sect->name, abfd->filename);
       
This page took 0.0261 seconds and 4 git commands to generate.