diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-02-19 06:19:45 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-02-19 06:19:45 +0000 |
commit | 672d9c23b3246028ca5f134f67895f59b6f98c8e (patch) | |
tree | eef0c3ea96099d38a0644a581ac65b9721778a34 /gdb/symfile.h | |
parent | c16153aed7cc77c39bb5e78b2880a9792e1d0554 (diff) | |
download | gdb-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.h | 2 |
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]; }; |