Re: [RFC-v5] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior)

Tom Tromey
2012-12-13T16:16:10Z

>>>>> "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