You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2023/01/05 13:22:11 UTC

[GitHub] [nuttx] anjiahao1 opened a new pull request, #8037: arch:change tcbinfo regs num

anjiahao1 opened a new pull request, #8037:
URL: https://github.com/apache/nuttx/pull/8037

   Signed-off-by: anjiahao <an...@xiaomi.com>
   
   ## Summary
   change tcbinfo regs num for debug with gdb
   ## Impact
   tcbinfo
   ## Testing
   vela
   
   sometimes,`XCPTCONTEXT_REGS` != `gdb need regs`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8037: arch:change tcbinfo regs num

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on code in PR #8037:
URL: https://github.com/apache/nuttx/pull/8037#discussion_r1062472483


##########
arch/arm/src/armv6-m/arm_tcbinfo.c:
##########
@@ -73,7 +73,7 @@ const struct tcbinfo_s g_tcbinfo =
   .name_off  = TCB_NAME_OFF,
   .regs_off  = TCB_REGS_OFF,
   .basic_num = 17,
-  .total_num = XCPTCONTEXT_REGS,
+  .total_num = sizeof(g_reg_offs) / sizeof(uint16_t),

Review Comment:
   ditto



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 merged pull request #8037: arch:change tcbinfo regs num

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #8037:
URL: https://github.com/apache/nuttx/pull/8037


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8037: arch:change tcbinfo regs num

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on code in PR #8037:
URL: https://github.com/apache/nuttx/pull/8037#discussion_r1062472338


##########
arch/arm/src/arm/arm_tcbinfo.c:
##########
@@ -66,7 +66,7 @@ const struct tcbinfo_s g_tcbinfo =
   .name_off  = TCB_NAME_OFF,
   .regs_off  = TCB_REGS_OFF,
   .basic_num = 17,
-  .total_num = XCPTCONTEXT_REGS,
+  .total_num = sizeof(g_reg_offs) / sizeof(uint16_t),

Review Comment:
   g_reg_offs[0]



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org