[RFC-v5] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior)
Tom Tromey
tromey@redhat.com
Thu Dec 13 16:16:00 GMT 2012
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> struct read_pe_section_data
Pierre> {
Pierre> CORE_ADDR vma_offset; /* Offset to loaded address of section. */
Pierre> @@ -41,8 +52,18 @@ struct read_pe_section_data
Pierre> unsigned long rva_end; /* End offset within the pe. */
Pierre> enum minimal_symbol_type ms_type; /* Type to assign symbols in
Pierre> section. */
Pierre> + char *section_name; /* Recorded section name. */
It seems like this could be const.
Tom
More information about the Gdb-patches
mailing list