summaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-03-26 16:50:45 +0000
committerMark Kettenis <kettenis@gnu.org>2005-03-26 16:50:45 +0000
commitdc6a2ca431e122957469f9f245d53df307a0d063 (patch)
treea0427aa925995fd531ff7a786e71bad589ce76cd /gdb/exec.c
parent59bb1042a1199c047bc00eb981b3de04a466dc4b (diff)
downloadbinutils-dc6a2ca431e122957469f9f245d53df307a0d063.tar.gz
binutils-dc6a2ca431e122957469f9f245d53df307a0d063.tar.bz2
binutils-dc6a2ca431e122957469f9f245d53df307a0d063.zip
* exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 6bf524a7810..48b83bca25f 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -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);