Re: [PATCH] Fix compile error due to [[noreturn]] with clang

Simon Marchi
2024-10-22T20:37:33Z

On 2024-10-22 16:20, Andreas Schwab wrote:
> On Okt 22 2024, Simon Marchi wrote:
>
>> So, I can't reproduce the build failure when configuring with
>> `--enable-targets=all --enable-sim`. It looks like remote-sim.o doesn't
>> get built, which is odd given that the simulator is enabled. Sounds
>> like a bug?
>
> It's only enabled for the main gdb target.
>

But nowadays, --enable-targets=all builds the sim for all targets (that
have a sim), not only the main target. Would it be possible to build
remote-sim.o in that case, and use the simulator for any target, from a
single --enable-targets=all gdb build?

Simon