diff mbox series

[11/12] libpdbg: Warn if default_backend() falls back to fake backend

Message ID 20210802054112.461728-12-jniethe5@gmail.com
State Superseded
Headers show
Series P10 HTM Support | expand

Commit Message

Jordan Niethe Aug. 2, 2021, 5:41 a.m. UTC
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
---
 libpdbg/dtb.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libpdbg/dtb.c b/libpdbg/dtb.c
index 331bd2cabbb2..2062c0b8db70 100644
--- a/libpdbg/dtb.c
+++ b/libpdbg/dtb.c
@@ -147,6 +147,7 @@  static enum pdbg_backend default_backend(void)
 		return PDBG_BACKEND_KERNEL;
 	}
 
+	pdbg_log(PDBG_WARNING, "Can not determine an appropriate backend. Using fake backend\n");
 	return PDBG_BACKEND_FAKE;
 }