projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* coffread.c (cs_to_section): Use gdb_bfd_section_index.
[deliverable/binutils-gdb.git]
/
gdb
/
solib-target.c
diff --git
a/gdb/solib-target.c
b/gdb/solib-target.c
index d897bc0f278a1f5547f19320c8c9388e4d5c230a..0ad29ba32355647bdda8abe0c25fa7e5a0a86735 100644
(file)
--- a/
gdb/solib-target.c
+++ b/
gdb/solib-target.c
@@
-456,7
+456,8
@@
Could not relocate shared library \"%s\": bad offsets"), so->so_name);
}
}
- offset = so->lm_info->offsets->offsets[sec->the_bfd_section->index];
+ offset = so->lm_info->offsets->offsets[gdb_bfd_section_index (sec->bfd,
+ sec->the_bfd_section)];
sec->addr += offset;
sec->endaddr += offset;
}
This page took
0.029971 seconds
and
4
git commands to generate.