This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit fabc0a00aa103b60f7edcc312e652da82fdc9566
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Thu Oct 10 12:14:59 2019 -0700

    mbuf.gdb: mn_msys1_free_print-->mn_msys1_free_list
    
    This macro just lists mbuf addresses, whereas the "print" macros
    actually print the mbuf headers.  To maintain consistency, rename this
    macro with "list" rather than "print".
---
 compiler/gdbmacros/mbuf.gdb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/compiler/gdbmacros/mbuf.gdb b/compiler/gdbmacros/mbuf.gdb
index 9ece3b8..b1713bc 100644
--- a/compiler/gdbmacros/mbuf.gdb
+++ b/compiler/gdbmacros/mbuf.gdb
@@ -196,7 +196,7 @@ Prints all mbufs in the first msys pool.  Both allocated 
and unallocated mbufs
 are printed.
 end
 
-define mn_msys1_free_print
+define mn_msys1_free_list
     set $om = os_msys_1_mempool.slh_first
 
     while $om != 0
@@ -204,3 +204,9 @@ define mn_msys1_free_print
         set $om = $om->mb_next.sle_next
     end
 end
+
+document mn_msys1_free_list
+usage: mn_msys1_free_list
+
+Prints the addresses of all free mbufs in the first msys pool.
+end

Reply via email to