Fix PR16201.
authorPierre Muller <muller@ics.u-strasbg.fr>
Tue, 7 Jan 2014 23:31:50 +0000 (00:31 +0100)
committerPierre Muller <muller@ics.u-strasbg.fr>
Tue, 7 Jan 2014 23:31:50 +0000 (00:31 +0100)
commitf93ba80c9848d3cf4bd2a3d05d9c1f86239b60ef
tree9e199f73b46fb35465838b99ebaed647962c9650
parent4cfc109c65d921ea7317f5bfebbbe705533025e8
Fix PR16201.
* coff-pe-read.c (struct read_pe_section_data): Add index field.
(add_pe_exported_sym): Use SECTION_DATA->INDEX for call
to prim_record_mininal_symbol_and_info.
(add_pe_forwarded_sym): Use known section number of forwarded symbol
in call to prim_record_minimal_symbol_and_info.
(read_pe_exported_syms): Set index field of section_data.
gdb/ChangeLog
gdb/coff-pe-read.c