You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to debug using openocd and using the gdb commands provided by OTP: erts/etc/unix/etp-commands.
The commands require a set of symbols to be defined (the etp_XXX defined in erts/emulator/beam/erl_init.c) but they are not. I wonder if the issue is due to the compiler optimizing them out or any special cross-build issue.
The text was updated successfully, but these errors were encountered:
RTEMS uses a method where the compiler puts every function into its own section and then at the linking phase garbage collects sections that are not referenced. This could cause functions to be removed if they are not referenced from the program.
I was trying to debug using openocd and using the gdb commands provided by OTP:
erts/etc/unix/etp-commands
.The commands require a set of symbols to be defined (the
etp_XXX
defined inerts/emulator/beam/erl_init.c
) but they are not. I wonder if the issue is due to the compiler optimizing them out or any special cross-build issue.The text was updated successfully, but these errors were encountered: