You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gu...@apache.org on 2021/09/21 12:22:36 UTC

[incubator-nuttx] branch master updated (1692aa7 -> 0aa4f07)

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

gustavonihei pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 1692aa7  drivers/syslog: Ensure the buffer zero terminate
     new 9f4d7e4  xtensa_dumpstate.c: Fix the name of the TCB variable when dumping the backtrace.
     new 0aa4f07  libc/sched/sched_backtrace.c: Include unistd.h to avoid warning about getpid function.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 arch/xtensa/src/common/xtensa_dumpstate.c | 2 +-
 libs/libc/sched/sched_backtrace.c         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

[incubator-nuttx] 01/02: xtensa_dumpstate.c: Fix the name of the TCB variable when dumping the backtrace.

Posted by gu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 9f4d7e4767c0af920a30e75dfceb820ec0cd2e52
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Tue Sep 21 13:08:20 2021 +0200

    xtensa_dumpstate.c: Fix the name of the TCB variable when dumping the
    backtrace.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 arch/xtensa/src/common/xtensa_dumpstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/xtensa/src/common/xtensa_dumpstate.c b/arch/xtensa/src/common/xtensa_dumpstate.c
index 6627556..daccaed 100644
--- a/arch/xtensa/src/common/xtensa_dumpstate.c
+++ b/arch/xtensa/src/common/xtensa_dumpstate.c
@@ -74,7 +74,7 @@ static void up_taskdump(FAR struct tcb_s *tcb, FAR void *arg)
 
 #if defined(CONFIG_XTENSA_DUMPBT_ON_ASSERT) && \
     defined(CONFIG_SCHED_BACKTRACE)
-  sched_dumpstack(rtcb->pid);
+  sched_dumpstack(tcb->pid);
 #endif
 }
 #endif

[incubator-nuttx] 02/02: libc/sched/sched_backtrace.c: Include unistd.h to avoid warning about getpid function.

Posted by gu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 0aa4f07e93daa64889833b1ae20dca659985bae7
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Tue Sep 21 13:08:41 2021 +0200

    libc/sched/sched_backtrace.c: Include unistd.h to avoid warning about
    getpid function.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 libs/libc/sched/sched_backtrace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libs/libc/sched/sched_backtrace.c b/libs/libc/sched/sched_backtrace.c
index bc318cd..5c35bda 100644
--- a/libs/libc/sched/sched_backtrace.c
+++ b/libs/libc/sched/sched_backtrace.c
@@ -25,6 +25,7 @@
 #include <nuttx/config.h>
 
 #include <sys/types.h>
+#include <unistd.h>
 #include <execinfo.h>
 #include <unwind.h>