From c477e21233c04fd6488bb90931f0bb2e1f802b10 Mon Sep 17 00:00:00 2001 From: Haneef Mohammed Date: Fri, 5 Jul 2024 17:56:07 -0400 Subject: [PATCH] synced with package.json --- debug_attributes.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/debug_attributes.md b/debug_attributes.md index dfca8b59..30078505 100644 --- a/debug_attributes.md +++ b/debug_attributes.md @@ -47,22 +47,19 @@ If the type is marked as `{...}` it means that it is a complex item can have mul | objdumpPath | string | Both | This setting can be used to override the objdump (used to find globals/statics) path user/workspace setting for a particular launch configuration. This should be the full pathname to the executable (or name of the executable if it is in your PATH). Note that other toolchain executables with the configured prefix must still be available. The program 'nm' is also expected alongside | | openOCDLaunchCommands | string[] | Both | OpenOCD command(s) after configuration files are loaded (-c options) | | openOCDPreConfigLaunchCommands | string[] | Both | OpenOCD command(s) before configuration files are loaded (-c options) | -| overrideAttachCommands | string[] | Attach | You can use this to property to override the commands that are normally executed as part of attaching to a running target. In most cases it is preferable to use preAttachCommands and postAttachCommands to customize the GDB attach sequence. | +| overrideAttachCommands | string[] | Attach | Override the commands that are normally executed as part of attaching to a running target. In most cases it is preferable to use preAttachCommands and postAttachCommands to customize the GDB attach sequence. | | overrideGDBServerStartedRegex | string | Both | You can supply a regular expression (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) in the configuration property to override the output from the GDB Server that is looked for to determine if the GDB Server has started. Under most circumstances this will not be necessary - but could be needed as a result of a change in the output of a GDB Server making it incompatible with cortex-debug. This property has no effect for bmp or external GDB Server types. | -| overrideLaunchCommands | string[] | Launch | You can use this to property to override the commands that are normally executed as part of flashing and launching the target. In most cases it is preferable to use preLaunchCommands and postLaunchCommands to customize the GDB launch sequence. | -| overrideResetCommands | string[] | Both | You can use this to property to override the commands that are normally executed as part of reset the target. When not defined this will have the same value of overrideRestartCommands. In most cases it is preferable to use preResetCommands and postResetCommands to customize the GDB reset sequence. | -| overrideRestartCommands | string[] | Both | You can use this to property to override the commands that are normally executed as part of restarting the target. In most cases it is preferable to use preRestartCommands and postRestartCommands to customize the GDB restart sequence. | +| overrideLaunchCommands | string[] | Launch | Override the commands that are normally executed as part of flashing and launching the target. In most cases it is preferable to use preLaunchCommands and postLaunchCommands to customize the GDB launch sequence. | +| overrideResetCommands | string[] | Both | Override the commands that are normally executed as part of reset-ing the target. When undefined the deprecated overrideRestartCommands is used if it exists. | | postAttachCommands | string[] | Attach | Additional GDB Commands to be executed after the main attach sequence has finished. | | postLaunchCommands | string[] | Launch | Additional GDB Commands to be executed after the main launch sequence has finished. | -| postResetCommands | string[] | Both | Additional GDB Commands to be executed at the end of the reset sequence. When not defined this will have the same value of postRestartCommands. | -| postRestartCommands | string[] | Both | Additional GDB Commands to be executed at the end of the restart sequence. | -| postRestartSessionCommands | string[] | Both | Additional GDB Commands to be executed at the end of the re-start sequence, after a debug session has already started. | +| postResetCommands | string[] | Both | Additional GDB Commands to be executed at the end of the reset sequence. When undefined the deprecated postRestartCommands is used. | +| postResetSessionCommands | string[] | Launch | Additional GDB Commands to be executed at the end of the reset sequence | | postStartSessionCommands | string[] | Both | Additional GDB Commands to be executed at the end of the start sequence, after a debug session has already started and runToEntryPoint is not specified. | | powerOverBMP | string | Both | Power up the board over Black Magic Probe. "powerOverBMP" : "enable" or "powerOverBMP" : "disable". If not set it will use the last power state. | | preAttachCommands | string[] | Attach | Additional GDB Commands to be executed at the start of the main attach sequence (immediately after attaching to target). | | preLaunchCommands | string[] | Launch | Additional GDB Commands to be executed at the start of the main launch sequence (immediately after attaching to target). | -| preResetCommands | string[] | Both | Additional GDB Commands to be executed at the beginning of the reset sequence (after interrupting execution). When not defined this will have the same value of preRestartCommands. | -| preRestartCommands | string[] | Both | Additional GDB Commands to be executed at the beginning of the restart sequence (after interrupting execution). | +| preResetCommands | string[] | Both | Additional GDB Commands to be executed at the start of the reset sequence. When undefined the deprecated preRestartCommands is used. | | rtos | string | Both | RTOS being used. For JLink this can be Azure, ChibiOS, embOS, FreeRTOS, NuttX, Zephyr or the path to a custom JLink RTOS Plugin library. For OpenOCD this can be auto (recommended), FreeRTOS, ThreadX, chibios, Chromium-EC, eCos, embKernel, linux, mqx, nuttx, RIOT, uCOS-III, or Zephyr. | | rttConfig | object | Both | SEGGER's Real Time Trace (RTT) and supported by JLink, OpenOCD and perhaps others in the future | | rttConfig
.address | string | Both | Address to start searching for the RTT control block. Use "auto" for Cortex-Debug to use the address from elf file |