GDB Debug Session GDB Fundamentals Setup Steps Step 1: Start OpenOCD openocd -s <scripts> -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000" Step 2: Launch GDB arm-none-eabi-gdb build\0x0001_hello-world.elf Step 3: Connect to target target extended-remote :3333 Step 4: Reset + halt monitor reset halt Step 5: Set breakpoint break main Then: continue (c) What Each Does openocd Loads probe + chip config files Then listens on :3333 arm-none-eabi-gdb ARM debugger from the embedded toolchain target extended-remote GDB connects to OpenOCD server monitor reset halt Reset chip + stop at very first instr Clean starting state