This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] coff_new_init: add missing init functions
- From: Leon Winter <winter-gdb at bfw-online dot de>
- To: gdb-patches at sourceware dot org
- Date: Thu, 2 Jun 2016 15:10:19 +0200
- Subject: [PATCH] coff_new_init: add missing init functions
- Authentication-results: sourceware.org; auth=none
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