Disassembly with linux_x86_64

Hi,

I managed to use PlatformIO with platform linux_x86_64 using the following platformio.ini and a dummy board file. However, I am not able to use the disassembly feature of PlatformIO in VSCode.

Though I can use ‘disassemble main’ in the gdb debug console correctly, I get the error ‘no function with main found.’ when using ‘PlatformIO Debug: View Disassembly (Function)’.

Has anyone an idea what might be the problem?

Thanks
Matt

[env:local]
platform = linux_x86_64
board = dummy
build_flags = -g --save-temps
debug_tool = custom
debug_server =
/usr/bin/gdbserver
–once
localhost:12345
.pio/build/local/program
debug_port = localhost:12345
debug_init_break = tbreak _start
debug_load_mode = manual
debug_init_cmds =
define pio_reset_halt_target
echo reset\n
end
define pio_reset_run_target
echo run\n
end
set logging on
target remote $DEBUG_PORT
$INIT_BREAK