aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-14 18:35:11 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-14 18:35:11 +0000
commitd7f9d729727b2b85ae3228785762f4d2e6a8742f (patch)
tree9ea7ff6c431b2a80d33908b5cb436e6545ccbcff /gdb/elfread.c
parent9a619af0d3152e742fbd290baeae96a32f0abf04 (diff)
downloadgdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.zip
gdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.tar.gz
gdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.tar.bz2
2010-05-14 Michael Snyder <msnyder@vmware.com>
* elfread.c: White space. * environ.c: White space. * eval.c: White space. * event-loop.c: White space. * event-top.c: White space. * exceptions.c: White space. * exec.c: White space. * expprint.c: White space.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 68bbf12..8c00938 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -425,6 +425,7 @@ elf_symtab_read (struct objfile *objfile, int type,
/* Named Local variable in a Data section.
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);
else if (strcmp ("Ddata.data", sym->name) == 0)
@@ -889,6 +890,7 @@ elf_symfile_read (struct objfile *objfile, int symfile_flags)
if (debugfile)
{
bfd *abfd = symfile_bfd_open (debugfile);
+
symbol_file_add_separate (abfd, symfile_flags, objfile);
xfree (debugfile);
}