This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Fix a memory corruption in mdebugread.c


> OK.  Assuming that the name of the class's stEnd is not mangled like a
> constructor, my worry is unfounded.  If you add a comment to that effect
> then this patch is OK.

Class names appear not to be mangled, so indeed there should be no
name "clash". I checked the following change in (I expanded the comment
to explain that a method can not have the same name as the class name):

2003-01-03  J. Brobecker  <brobecker@gnat.com>

        * mdebugread.c (parse_symbol): Count until the stEnd matching
        the structure name.

-- 
Joel

Attachment: mdebugread.c.diff
Description: Text document


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