projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change section_offsets to a std::vector
[deliverable/binutils-gdb.git]
/
gdb
/
amd64-windows-tdep.c
diff --git
a/gdb/amd64-windows-tdep.c
b/gdb/amd64-windows-tdep.c
index 2ce391fb90615b1383c3580191ca7eae2ca58fd7..e1e777c4355e74a617527fcebee594fcf182f778 100644
(file)
--- a/
gdb/amd64-windows-tdep.c
+++ b/
gdb/amd64-windows-tdep.c
@@
-953,8
+953,8
@@
amd64_windows_find_unwind_info (struct gdbarch *gdbarch, CORE_ADDR pc,
pe = pe_data (sec->objfile->obfd);
dir = &pe->pe_opthdr.DataDirectory[PE_EXCEPTION_TABLE];
pe = pe_data (sec->objfile->obfd);
dir = &pe->pe_opthdr.DataDirectory[PE_EXCEPTION_TABLE];
- base = pe->pe_opthdr.ImageBase
-
+ ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)
);
+ base =
(
pe->pe_opthdr.ImageBase
+
+ objfile->section_offsets[SECT_OFF_TEXT (objfile)]
);
*image_base = base;
/* Find the entry.
*image_base = base;
/* Find the entry.
This page took
0.024424 seconds
and
4
git commands to generate.