Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: William Tambe <tambewilliam@gmail.com>
To: gdb@sourceware.org
Subject: _initialize_arch_tdep() not getting called
Date: Sat, 10 Aug 2019 14:17:00 -0000	[thread overview]
Message-ID: <CAF8i9mNhSCrnhdHKyikpvFM3BtYXtcEtM6i0aXsHBUTXMf417Q@mail.gmail.com> (raw)

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 ?


             reply	other threads:[~2019-08-10 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-10 14:17 William Tambe [this message]
2019-08-11  2:50 ` William Tambe
2019-08-12  0:34   ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF8i9mNhSCrnhdHKyikpvFM3BtYXtcEtM6i0aXsHBUTXMf417Q@mail.gmail.com \
    --to=tambewilliam@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox