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: [PATCH] ada-lang.c, null pointer




> Hi Michael,
>
> > 2007-08-11  Michael Snyder  <msnyder@access-company.com>
> >
> > * ada-lang.c (field_alignment): Guard against NULL.
>
> Thanks again for your patch.
>
> May I propose another patch that is very close in spirit? The diff
> is slightly bigger, but it makes the code check for a null name
> only once, and allows us to know at a glance what we do in this case.
>
> Let me know what you think.
> (proposed patch reg-tested)

Yeah, Joel, that looks fine to me.  You want to check it in?
Michael



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