From 81b9b86eb8e37cff4bba2c41d9450312efe3c0fd Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Wed, 16 May 2012 22:10:49 +0000 Subject: 2012-05-16 Sergio Durigan Junior * 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'. --- gdb/dwarf2read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dwarf2read.c') diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index f89742b..fc1a864 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1582,7 +1582,7 @@ dwarf2_locate_sections (bfd *abfd, asection *sectp, void *vnames) } else if (section_is_p (sectp->name, &names->eh_frame)) { - flagword aflag = bfd_get_section_flags (ignore_abfd, sectp); + flagword aflag = bfd_get_section_flags (abfd, sectp); if (aflag & SEC_HAS_CONTENTS) { -- cgit v1.1