This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix buffer overflow in ada-lang.c:move_bits
> > I was going to suggest that this would benefit from unit tests in
> > the style of dwarf2read.c:copy_bitwise's, but, actually, isn't this
> > exactly the same as copy_bitwise? Can we get rid of ada-lang.c:move_bits?
> > (And maybe move copy_bitwise elsewhere?)
>
> I meant to say dwarf2loc.c instead of dwarf2read.c.
It does look exactly the same, doesn't it? I'll see if we can just
re-use dwarf2loc's copy_bitwise. Thanks for the suggestion!
--
Joel