aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2011-05-19 06:54:30 +0000
committerHui Zhu <teawater@gmail.com>2011-05-19 06:54:30 +0000
commit3672b1be0a861d0ad31d79ce63f038a96e1bd1a2 (patch)
treedbcb80f5d3020c8396c38e23f71cd48325525324 /gdb/xcoffread.c
parent3ee2366c5fea74284c6dce2e2e8a874f3cd28b6d (diff)
downloadgdb-3672b1be0a861d0ad31d79ce63f038a96e1bd1a2.zip
gdb-3672b1be0a861d0ad31d79ce63f038a96e1bd1a2.tar.gz
gdb-3672b1be0a861d0ad31d79ce63f038a96e1bd1a2.tar.bz2
2011-05-19 Hui Zhu <teawater@gmail.com>
* xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
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. */