Skip to content

[GDB] Proper Build Instructions #45

Closed
@wrongbaud

Description

@wrongbaud

Hello,

I am trying to build gdb so that I can target an ARC CPU through OpenOCD. I am building on a Raspberry Pi and am able to comminciate with my target ARC CPU over JTAG and I would like to get a GDB instance built such that I can start stepping through the firmware. I have built the latest release on my RPi as follows:

./configure
make
I am able to get things to build, however when I run ./gdb/gdb I cannot select the ARC architecture, all that is available to me is ARM.

I understand that this is likely something very simple that I am not doing properly with my ./configure step - can someone please point me in the right direction I have tried the following:

./configure --enable-targets=all
as well as

./configure --enable-targets=arc
Neither of those results in the ability for me to properly select the ARC architecture within GDB.

I apologize for asking this question here - but it takes quite a while to build on the Pi and I have spent a fair amount of time on this tonight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions