This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] coff_new_init: add missing init functions


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 --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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]