* exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
authorMark Kettenis <kettenis@gnu.org>
Sat, 26 Mar 2005 16:50:45 +0000 (16:50 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 26 Mar 2005 16:50:45 +0000 (16:50 +0000)
gdb/ChangeLog
gdb/exec.c

index 80420fcdc5c6a577e430a1513850228b34ca3d1d..5d95ba1980093e592bb4e3f1477d5312815fcb0d 100644 (file)
@@ -1,5 +1,7 @@
 2005-03-26  Mark Kettenis  <kettenis@gnu.org>
 
+       * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
+
        * inflow.h: Update copyright year.  Remove #ifdef SHORT_PGRP code.
        Callapse HAVE_TERMIO and HAVE_SGTTY.
 
index 6bf524a78104ce8f31b09effab9c539eb61e3d13..48b83bca25f4ceb9ba261f90209dfaa052130710 100644 (file)
@@ -392,14 +392,14 @@ bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3)
   if ((bfd_get_section_flags (abfd, sect) & SEC_LOAD) == 0)
     return;
 
-  if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".text"))
+  if (strcmp (bfd_section_name (abfd, sect), ".text") == 0)
     {
       vp->tstart = bfd_section_vma (abfd, sect);
       vp->tend = vp->tstart + bfd_section_size (abfd, sect);
       vp->tvma = bfd_section_vma (abfd, sect);
       vp->toffs = sect->filepos;
     }
-  else if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".data"))
+  else if (strcmp (bfd_section_name (abfd, sect), ".data") == 0)
     {
       vp->dstart = bfd_section_vma (abfd, sect);
       vp->dend = vp->dstart + bfd_section_size (abfd, sect);
This page took 0.027064 seconds and 4 git commands to generate.