[patch] Reading coff-pe-read files
Kai Tietz
Kai.Tietz@onevision.com
Wed Jan 7 13:15:00 GMT 2009
Hi,
One small piece for x86_64 windows support in coff-pe-read.c seems to be
missing. In function read_pe_exported_syms wrong indexes are used to find
exports of the image.
The source uses here the same pattern as in bfd/pe-dll.c.
ChangeLog
2009-01-07 Kai Tietz <kai.tietz@onevision.com>
* coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
export directory.
I am uncertain, which macro I should use here (or if it would be better to
make for PE+ a copy of this file), so I used _WIN64 as condition.
Cheers,
Kai
PS: I have already papers ready with FSF for gdb, so there shouldn't be
any problem about taking parts of my donated code, I've provided to Joel
IMHO.
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pe-coff-read.diff
Type: application/octet-stream
Size: 1503 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090107/53e1a87f/attachment.obj>
More information about the Gdb-patches
mailing list