From 4b55a9664d33a9ea3bab87e9668c71ac3c3f877d Mon Sep 17 00:00:00 2001 From: Alistair Popple Date: Thu, 13 Jul 2017 13:45:27 +1000 Subject: libpdbg: Add a more complete fake backend The fake backend we had couldn't be used as src/main.c was missing the option to enable it. It was also missing an implementation of a fake pib so add that too. Signed-off-by: Alistair Popple --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index 67b4055..7517cf2 100644 --- a/src/main.c +++ b/src/main.c @@ -286,6 +286,8 @@ static bool parse_options(int argc, char *argv[]) backend = KERNEL; /* TODO: use device node to point at a slave * other than the first? */ + } else if (strcmp(optarg, "fake") == 0) { + backend = FAKE; } else opt_error = true; break; -- cgit v1.2.1