gdb armsim

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gdb armsim

Sourceware - gdb list mailing list
Hello Everyone,

I was trying to compile a simulator for arm.
 ../gdb-9.1/configure --target=arm-none-eabi --prefix=/opt/GDB-SIM-9.1
make all-sim
make install

/bin/sh: line 3: cd: ./etc: No such file or directory
make[1]: *** [install-etc] Error 1
make[1]: Leaving directory `/workspace/rk889498/gdb-9.1/gdb-sim'
make: *** [install] Error 2

What is going wrong here?
The idea is to compile a simulator that can load a memory dump in and then
attaches to a port. The very old one I had did this:
gdb-armsim
 <symfile>[@offset] [-p <port>]
Any advice? Thanks,

Reinoud.
Reply | Threaded
Open this post in threaded view
|

Re: gdb armsim

Sourceware - gdb list mailing list
Hello Everyone,

There's another way of building that works :../gdb-9.1/configure
--target=arm-none-eabi --disable-gdb --enable-languages=c,c++
--prefix=/opt/sim
It'll create a run binary too. I won't need help anymore. Thanks,

Reinoud.

On Wed, May 27, 2020 at 12:47 AM Reinoud Koornstra <
[hidden email]> wrote:

> Hello Everyone,
>
> I was trying to compile a simulator for arm.
>  ../gdb-9.1/configure --target=arm-none-eabi --prefix=/opt/GDB-SIM-9.1
> make all-sim
> make install
>
> /bin/sh: line 3: cd: ./etc: No such file or directory
> make[1]: *** [install-etc] Error 1
> make[1]: Leaving directory `/workspace/rk889498/gdb-9.1/gdb-sim'
> make: *** [install] Error 2
>
> What is going wrong here?
> The idea is to compile a simulator that can load a memory dump in and then
> attaches to a port. The very old one I had did this:
> gdb-armsim
>  <symfile>[@offset] [-p <port>]
> Any advice? Thanks,
>
> Reinoud.
>
>