X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fapi_5g%2Fbin%2Foran_5g_fapi.sh;h=b7c74bcbfab59701597631397d4d0fc59c77c1ff;hb=HEAD;hp=d61191d26a4c05b390c7a523bee387ff179a354d;hpb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;p=o-du%2Fphy.git diff --git a/fapi_5g/bin/oran_5g_fapi.sh b/fapi_5g/bin/oran_5g_fapi.sh old mode 100644 new mode 100755 index d61191d..b7c74bc --- a/fapi_5g/bin/oran_5g_fapi.sh +++ b/fapi_5g/bin/oran_5g_fapi.sh @@ -1,6 +1,6 @@ ############################################################################### # -# Copyright (c) 2019 Intel. +# Copyright (c) 2021 Intel. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -37,8 +37,11 @@ fi echo start ORAN 5G FAPI if [ "$1" = "-g" ]; then shift - #gdb-ia --args ./oran_5g_fapi $@ - gdb --args ./oran_5g_fapi $@ + if [ "$RTE_TARGET" == "x86_64-native-linuxapp-icx"]; then + /opt/intel/oneapi/debugger/10.2.4/gdb/intel64/bin/gdb-oneapi --args ./oran_5g_fapi $@ + else + /home/opt/intel/system_studio_2019/bin/gdb-ia --args ./oran_5g_fapi $@ + fi else ./oran_5g_fapi $@ fi