* gdb armsim
@ 2020-05-27 7:47 Reinoud Koornstra
2020-05-27 8:54 ` Reinoud Koornstra
0 siblings, 1 reply; 2+ messages in thread
From: Reinoud Koornstra @ 2020-05-27 7:47 UTC (permalink / raw)
To: gdb
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gdb armsim
2020-05-27 7:47 gdb armsim Reinoud Koornstra
@ 2020-05-27 8:54 ` Reinoud Koornstra
0 siblings, 0 replies; 2+ messages in thread
From: Reinoud Koornstra @ 2020-05-27 8:54 UTC (permalink / raw)
To: gdb
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 <
reinoudkoornstra@gmail.com> 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.
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-27 8:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 7:47 gdb armsim Reinoud Koornstra
2020-05-27 8:54 ` Reinoud Koornstra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).