sim: add --info-target for listing supported BFD targets
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Oct 2021 06:11:21 +0000 (02:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Oct 2021 06:19:58 +0000 (02:19 -0400)
commitadc82fdb715184fa8e9acf47179e67acc82b8375
tree3a4fdf34afb98725dbd0ccffc0ef5942f26e6497
parent51911bd6e91ca4594424b243bfd1d2b501706abe
sim: add --info-target for listing supported BFD targets

It can be difficult to guess the exact bfd name, so add an option to
list all the targets that the current build supports.  This aligns with
other simulator options like --info-architecture.
sim/common/sim-options.c