On Okt 22 2024, Simon Marchi wrote:
> 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?
There can only be one simulator linked into gdb.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."