diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-05-16 22:10:49 +0000 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-05-16 22:10:49 +0000 |
commit | 81b9b86eb8e37cff4bba2c41d9450312efe3c0fd (patch) | |
tree | e703774e89d39b746119d07c6971e0cd0bb33da7 /gdb/coffread.c | |
parent | abc9d0dc6edeeabbd65fedb43cf840875156da91 (diff) | |
download | gdb-81b9b86eb8e37cff4bba2c41d9450312efe3c0fd.zip gdb-81b9b86eb8e37cff4bba2c41d9450312efe3c0fd.tar.gz gdb-81b9b86eb8e37cff4bba2c41d9450312efe3c0fd.tar.bz2 |
2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
* coffread.c (cs_section_address): Passing proper argument for
`bfd_get_section_vma'.
* dwarf2read.c (dwarf2_locate_sections): Likewise, for
`bfd_get_section_flags'.
* remote.c (remote_trace_set_readonly_regions): Likewise, for
`bfd_get_section_vma'.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index ec6f7d7..f4e7974 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -311,7 +311,7 @@ cs_section_address (struct coff_symbol *cs, bfd *abfd) args.resultp = § bfd_map_over_sections (abfd, find_targ_sec, &args); if (sect != NULL) - addr = bfd_get_section_vma (objfile->obfd, sect); + addr = bfd_get_section_vma (abfd, sect); return addr; } |