mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add instruction for debugging posix application with LLDB
This commit is contained in:
parent
fbaeba352e
commit
5eef7bfc1a
5
portable/ThirdParty/GCC/Posix/port.c
vendored
5
portable/ThirdParty/GCC/Posix/port.c
vendored
|
@ -48,6 +48,11 @@
|
||||||
* stdio (printf() and friends) should be called from a single task
|
* stdio (printf() and friends) should be called from a single task
|
||||||
* only or serialized with a FreeRTOS primitive such as a binary
|
* only or serialized with a FreeRTOS primitive such as a binary
|
||||||
* semaphore or mutex.
|
* semaphore or mutex.
|
||||||
|
*
|
||||||
|
* Note: When using LLDB (the default debugger on macOS) with this port,
|
||||||
|
* suppress SIGUSR1 to prevent debugger interference. This can be
|
||||||
|
* done by adding the following line to ~/.lldbinit:
|
||||||
|
* `process handle SIGUSR1 -n true -p true -s false`
|
||||||
*----------------------------------------------------------*/
|
*----------------------------------------------------------*/
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
|
Loading…
Reference in a new issue