[Pdbg] [PATCH 1/2] libpdbg: Update documentation for pdbg_targets_init()

Amitay Isaacs amitay at ozlabs.org
Wed Apr 22 12:17:30 AEST 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 libpdbg/libpdbg.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/libpdbg/libpdbg.h b/libpdbg/libpdbg.h
index 1c974f5..3078bc5 100644
--- a/libpdbg/libpdbg.h
+++ b/libpdbg/libpdbg.h
@@ -490,11 +490,9 @@ bool pdbg_set_backend(enum pdbg_backend backend, const char *backend_option);
  * Must be called prior to using any other libpdbg functions.
  *
  * Device tree can also be specified using PDBG_DTB environment variable
- * pointing to system device tree.
- *
- * If the argument is NULL, then PDBG_DTB will override the default device
- * tree.  If the argument is not NULL, then that will override the default
- * device tree and device tree pointed by PDBG_DTB.
+ * pointing to system device tree.  If system device tree is specified using
+ * PDBG_DTB, then it will override the default device tree or the specified
+ * device tree.
  *
  * @note This function can only be called once.
  */
-- 
2.25.3



More information about the Pdbg mailing list