2011-05-19 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Thu, 19 May 2011 06:54:30 +0000 (06:54 +0000)
committerHui Zhu <teawater@gmail.com>
Thu, 19 May 2011 06:54:30 +0000 (06:54 +0000)
* xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved.

gdb/ChangeLog
gdb/xcoffread.c

index 3103398d5a5957ed7b068bbdaa4dfbf2583b2089..7bfe2725d8a48757c71fdbec9265e6305a10fbba 100644 (file)
@@ -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.
 2011-05-18  Tom Tromey  <tromey@redhat.com>
 
        * dwarf2read.c (dwarf2_add_field): Constify.
index 23decae46639da5df9816f6c1c5db6c0ae078c8a..0967529e06a9f1673b7faecd855ebf41f2b3ae27 100644 (file)
@@ -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.  */
   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.  */
   struct context_stack *new;
 
   char *filestring = " _start_ ";      /* Name of the current file.  */
This page took 0.027531 seconds and 4 git commands to generate.