From patchwork Thu Jun 2 13:10:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Winter X-Patchwork-Id: 12718 Received: (qmail 22578 invoked by alias); 2 Jun 2016 13:10:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 22561 invoked by uid 89); 2 Jun 2016 13:10:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*r:4.86, H*M:online, H*MI:online X-HELO: mail.bfw-online.de Received: from mail.bfw-online.de (HELO mail.bfw-online.de) (62.245.186.164) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 02 Jun 2016 13:10:23 +0000 Received: from winter by mail.bfw-online.de with local (Exim 4.86) (envelope-from ) id 1b8SOB-0004mj-IX for gdb-patches@sourceware.org; Thu, 02 Jun 2016 15:10:19 +0200 Date: Thu, 2 Jun 2016 15:10:19 +0200 From: Leon Winter To: gdb-patches@sourceware.org Subject: [PATCH] coff_new_init: add missing init functions Message-ID: <20160602131019.GA14258@bfw-online.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.6.0 (2016-04-01) 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