Readme_RTOSPluginNuttX.txt 1.1 KB

123456789101112131415161718192021
  1. /*********************************************************************
  2. * (c) SEGGER Microcontroller GmbH *
  3. * The Embedded Experts *
  4. * www.segger.com *
  5. **********************************************************************
  6. ----------------------------------------------------------------------
  7. */
  8. The "NuttX" RTOS-Plugin for the J-Link GDB Server is provided by SEGGER as it is.
  9. The plugin is provided *without* support from SEGGER.
  10. The plugin requires some additional configuration commands. These commands can be
  11. sent automatically by creating a .gdbinit file as follows:
  12. define hookpost-file
  13. eval "monitor rtosconf pid_offset %d", &((struct tcb_s *)(0))->pid
  14. eval "monitor rtosconf regs_offset %d", &((struct tcb_s *)(0))->xcp.regs
  15. eval "monitor rtosconf state_offset %d", &((struct tcb_s *)(0))->task_state
  16. eval "monitor rtosconf name_offset %d", &((struct tcb_s *)(0))->name
  17. eval "monitor rtosconf prio_offset %d", &((struct tcb_s *)(0))->sched_priority
  18. end