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

Pierre Muller
2012-12-13T17:09:12Z

Thanks for the persistence in searching!

Patch committed,

Pierre

> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Pedro Alves
> Envoyé : jeudi 13 décembre 2012 17:56
> À : Pierre Muller
> Cc : 'GDB Patches'
> Objet : 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