This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 12/13/2012 04:54 PM, Pierre Muller wrote:
>   OK, we were probably lucky because
> most DLL's have their .text section as first section, so that we never get to 
> 8 char long names...

Yeah.

> 
> ChangeLog entry:
> 2012-12-13  Pierre Muller  <muller@sourceware.org>
> 
>        * coff-pe-read.c (pe_text_section_offset): Increase size of sname
>        local variable and zero terminate it to avoid possible problems
>        in strcmp.

Okay, thanks.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]