This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Initialize tmp_obstack
On Tue, Dec 05, 2006 at 03:40:03PM -0500, Daniel Jacobowitz wrote:
> On Sat, Dec 02, 2006 at 10:27:12AM -0800, H. J. Lu wrote:
> > Gcc 4.1 warns
>
> Mine doesn't, but I never did figure out why some compilers do and
> others don't.
>
> > 2006-12-02 H.J. Lu <hongjiu.lu@intel.com>
> >
> > * cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack.
> > (cp_print_value): Likewise
> > * p-valprint.c (pascal_object_print_value_fields): Likewise
> > (pascal_object_print_value): Likewise
>
> OK to commit - let's use this version. Thanks. I think it's fine for
> the 4.2 branch too.
I assume that you meant gdb 6.5 branch.
H.J.