summaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-23 19:24:05 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-23 19:24:05 +0000
commitcaffcab24fa2d63f57a0170df5f01591db0b8c81 (patch)
tree1f8fc78c8dcf41f07d6fb88b99524ddfefa9c9fa /gdb/elfread.c
parent61b007eda5514481ecaf1ab0d8714fcc2ba0a2dc (diff)
downloadgdb-caffcab24fa2d63f57a0170df5f01591db0b8c81.tar.gz
2003-11-23 Andrew Cagney <cagney@redhat.com>
* symfile.c (symbol_file_command): Replace STREQ with strcmp. * elfread.c (elf_symtab_read): Delete STREQ from comment.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index d899c09a757..d3779c07ec3 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -342,10 +342,7 @@ elf_symtab_read (struct objfile *objfile, int dynamic)
else if (sym->flags & BSF_LOCAL)
{
/* Named Local variable in a Data section.
- Check its name for stabs-in-elf. The STREQ
- macro checks the first character inline, so
- we only actually do a strcmp function call on
- names that start with 'B' or 'D'. */
+ Check its name for stabs-in-elf. */
int special_local_sect;
if (strcmp ("Bbss.bss", sym->name) == 0)
special_local_sect = SECT_OFF_BSS (objfile);