diff mbox

coff_new_init: add missing init functions

Message ID 20160602131019.GA14258@bfw-online.de
State New
Headers show

Commit Message

Leon Winter June 2, 2016, 1:10 p.m. UTC
In the course of a recent code rearrangement effort somehow COFF was overlooked.
The provided patch calls the relevant init functions.

See also my bug (which I am told I have wrongfully filed as should have written
here directly):
https://sourceware.org/bugzilla/show_bug.cgi?id=19298
diff mbox

Patch

diff --git a/gdb/coffread.c b/gdb/coffread.c
index 9082c31..2395d77 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -745,6 +745,8 @@  coff_symfile_read (struct objfile *objfile, int symfile_flags)
 static void
 coff_new_init (struct objfile *ignore)
 {
+  stabsread_new_init ();
+  buildsym_new_init ();
 }
 
 /* Perform any local cleanups required when we are done with a