* symfile.c (syms_from_objfile): Adjust indentation.

This commit is contained in:
Jim Blandy 2002-11-25 20:11:35 +00:00
parent 481d0f4121
commit 13de58df8b
2 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,7 @@
2002-11-25 Jim Blandy <jimb@redhat.com>
* symfile.c (syms_from_objfile): Adjust indentation.
* symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty
|| info_verbose isn't true.

View File

@ -667,10 +667,12 @@ syms_from_objfile (struct objfile *objfile, struct section_addr_info *addrs,
{
if (addrs->other[i].addr != 0)
{
sect = bfd_get_section_by_name (objfile->obfd, addrs->other[i].name);
sect = bfd_get_section_by_name (objfile->obfd,
addrs->other[i].name);
if (sect)
{
addrs->other[i].addr -= bfd_section_vma (objfile->obfd, sect);
addrs->other[i].addr
-= bfd_section_vma (objfile->obfd, sect);
lower_offset = addrs->other[i].addr;
/* This is the index used by BFD. */
addrs->other[i].sectindex = sect->index ;