ThingWorx Edge C SDK > How to Set Up Security > Debugging with GDB and OpenSSL on ARM Platforms
Debugging with GDB and OpenSSL on ARM Platforms
When debugging the C SDK with OpenSSL on ARM platforms, it is possible to receive a SIGILL with the default debugging configuration. Here is an example of the SIGILL message from GDB:

Program received signal SIGILL, Illegal instruction.
0x400864c0 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
Continuing the execution should be enough to continue debugging. However, it is possible to write a custom handler in GDB that will automatically handle this during the debug process. Please refer to the official OpenSSL documentation for more information: https://www.openssl.org/docs/faq.html#PROG15 (entry #16).
Was this helpful?