[Pdbg] [PATCH] options_arm: Allow use of fake backend
Alistair Popple
alistair at popple.id.au
Wed Sep 12 17:02:34 AEST 2018
Thanks Joel, however I have just reworked the backend detection so hopefully
this isn't required and now works.
- Alistiar
On Wednesday, 12 September 2018 1:16:31 PM AEST Joel Stanley wrote:
> This is useful for testing eg. in qemu that pdbg has been built properly
> for ARM.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> ---
> src/options_arm.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/src/options_arm.c b/src/options_arm.c
> index 72985d3e2f87..86ab11e496bd 100644
> --- a/src/options_arm.c
> +++ b/src/options_arm.c
> @@ -52,8 +52,12 @@ bool backend_is_possible(enum backend backend)
> return true;
> if (backend == KERNEL && access(OPENFSI_BMC, F_OK) == 0)
> return true;
> + if (backend == FAKE)
> + return true;
> + if (backend == FSI)
> + return true;
>
> - return backend == FSI;
> + return false;
> }
>
> void print_targets(FILE *stream)
>
More information about the Pdbg
mailing list