From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30853 invoked by alias); 10 Aug 2019 14:17:11 -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 30845 invoked by uid 89); 10 Aug 2019 14:17:11 -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-f170.google.com Received: from mail-lj1-f170.google.com (HELO mail-lj1-f170.google.com) (209.85.208.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 10 Aug 2019 14:17:09 +0000 Received: by mail-lj1-f170.google.com with SMTP id i21so15382372ljj.3 for ; Sat, 10 Aug 2019 07:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Z0Ng0Rkwy0o24a1YGzHwYGg1lNrMVT5ED5lSadivUUw=; b=EYz7BXjBBiCMqzK45u/DklPsrIFWNLe9CBT1n4rHvP39yHDmxTpGRdhbe1Y7fMXBpa S4+yhBGt5Blju8VKdJ0u+ALq6xiA/i+mAACmi/py/pAbovvBKemo5GpOgF3a9VA5z/EC kYqWb1DIIByu5R6asEIVt7NkktjBYP+pD8RaRpN+4KHSA7GfQ4/wljievBvFRSAqndK0 lN6lzHC+ZE/0iyQu5JHhr9FsY7x1hTcL3N/CHZnVdbnkMxYLSTJkzTIZgmZL39qrNOlC vHQo3b5J0G38QoUF7Z2rOKO6DZ+toIuUaj659CFSh1fqa1kUYTbtN+qrLZf0Dl7xjg2Z oc9g== MIME-Version: 1.0 From: William Tambe Date: Sat, 10 Aug 2019 14:17:00 -0000 Message-ID: Subject: _initialize_arch_tdep() not getting called To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-08/txt/msg00009.txt.bz2 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 ?