From 3672b1be0a861d0ad31d79ce63f038a96e1bd1a2 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Thu, 19 May 2011 06:54:30 +0000 Subject: [PATCH] 2011-05-19 Hui Zhu * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. --- gdb/ChangeLog | 4 ++++ gdb/xcoffread.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3103398d5a5..7bfe2725d8a 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 23decae4663..0967529e06a 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. */ -- 2.30.2