diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3103398d5a..7bfe2725d8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-05-19 Hui Zhu + + * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. + 2011-05-18 Tom Tromey * dwarf2read.c (dwarf2_add_field): Constify. diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 23decae466..0967529e06 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -961,7 +961,7 @@ read_xcoff_symtab (struct partial_symtab *pst) struct coff_symbol fcn_stab_saved = { 0 }; /* fcn_cs_saved is global because process_xcoff_symbol needs it. */ - union internal_auxent fcn_aux_saved; + union internal_auxent fcn_aux_saved = main_aux; struct context_stack *new; char *filestring = " _start_ "; /* Name of the current file. */