From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12718 invoked by alias); 11 Aug 2019 02:50:08 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 12702 invoked by uid 89); 11 Aug 2019 02:50:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-lj1-f179.google.com Received: from mail-lj1-f179.google.com (HELO mail-lj1-f179.google.com) (209.85.208.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 11 Aug 2019 02:50:07 +0000 Received: by mail-lj1-f179.google.com with SMTP id v24so95611233ljg.13 for ; Sat, 10 Aug 2019 19:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jTz4WFbKMccLSkvp3xU03cjGltdRP2IbZaVF1FhzWKA=; b=aI6iQ8R4fO9JfkLdMdKk7ttUaOyq0nbJ0u9X4PO2GzL4Ij2yc4RW/EgmfAA8qdyZ1k W9kZfLJFosgXjC4MBSWYpEb2/zzgo0RJ+rVTDClJQryu1Eyn5O8nT8CA3UfUydL6TKbw ywEQHI/RcbHREtzRAwRo9kZY+ZdSfYr1HDl3x2UZgMl3XHf/F90BlViTBaenxWKDNA8S i5Vgxc2+Jy+BNJ1uGC50jC5JULUFy8f8xkxnWxkZE6c+OwV0XSEbUyqMEU6/k+thHxMx A35Tl8sB/ENemO9WHQH0hDQ+o6/XF9OteR8e7xdwjVoZOR/QOW+piBxioTeB9LFGVHwz R0xg== MIME-Version: 1.0 References: In-Reply-To: From: William Tambe Date: Sun, 11 Aug 2019 02:50:00 -0000 Message-ID: Subject: Re: _initialize_arch_tdep() not getting called To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-08/txt/msg00010.txt.bz2 I have narrowed down the issue to the function _initialize_arch_tdep() not being generated in gdb/init.c by gdb/Makefile.in during the build process. Any idea what could be the issue ? On Sat, Aug 10, 2019 at 9:16 AM William Tambe wrote: > > I am running into an issue where my GDB port is not calling > _initialize_arch_tdep() which is responsible for calling > register_gdbarch_init(). > > The files arch-tdep.c has been properly created and contain the > function _initialize_arch_tdep(). > > During GDB initialization, the function gdbarch_find_by_info() fail > causing the following error to occur: > arch-utils.c:693: internal-error: initialize_current_architecture: > Selection of initial architecture failed > > Any idea what I could have missed causing _initialize_arch_tdep() not > to be called ?