Re: _initialize_arch_tdep() not getting called

William Tambe <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAF8i9mNeujb06=WUxXJ0nU2us7ka0tBzt3-BXpO6yUhtibO50w@mail.gmail.com>
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 <[email protected]> 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 ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.