diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/xcoffread.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3103398..7bfe272 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-05-19 Hui Zhu <teawater@gmail.com> + + * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. + 2011-05-18 Tom Tromey <tromey@redhat.com> * dwarf2read.c (dwarf2_add_field): Constify. diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 23decae..0967529 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. */ |