You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/01/23 21:23:49 UTC

[GitHub] [incubator-teaclave-sgx-sdk] dingelish edited a comment on issue #114: vscode debugging wiki instructions fixing

dingelish edited a comment on issue #114: vscode debugging wiki instructions fixing
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/114#issuecomment-577879564
 
 
   @kbagher 
   
   Just found a solution:
   
   (1) clone the linux-sgx repo and check out the `sgx_2.7.1` tag
   (2) compile using `make psw`
   (3) you'll get a `libsgx_urts.so` with debug symbol at `./build/linux/libsgx_urts.so`
   (4) back up `/usr/lib/x86_64-linux-gnu/libsgx_urts.so` and then overwrite it with your own `libsgx_urts.so`
   (5) apply this patch to your `/opt/sgxsdk`
   
   Then your `sgx-gdb` should work perfectly! And I can debug on Ubuntu 18.04 + Intel SGX SDK v2.7.1 + Rust-SGX-SDK v1.1.0.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org