aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-02-19 06:19:45 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-02-19 06:19:45 +0000
commit672d9c23b3246028ca5f134f67895f59b6f98c8e (patch)
treeeef0c3ea96099d38a0644a581ac65b9721778a34 /gdb/symfile.h
parentc16153aed7cc77c39bb5e78b2880a9792e1d0554 (diff)
downloadgdb-672d9c23b3246028ca5f134f67895f59b6f98c8e.zip
gdb-672d9c23b3246028ca5f134f67895f59b6f98c8e.tar.gz
gdb-672d9c23b3246028ca5f134f67895f59b6f98c8e.tar.bz2
gdb/
* symfile.c (addr_info_make_relative): Extend comment. Move SECT to a more inner block. Initialize ADDR by LOWER_OFFSET only if it was found by bfd_get_section_by_name. * symfile.h (struct section_addr_info) <sectindex>: New comment.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 302c29f..fe95255 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -80,6 +80,8 @@ struct section_addr_info
{
CORE_ADDR addr;
char *name;
+
+ /* SECTINDEX must be valid for associated BFD if ADDR is not zero. */
int sectindex;
} other[1];
};