X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fapi_5g%2Fbin%2Foran_5g_fapi.sh;fp=fapi_5g%2Fbin%2Foran_5g_fapi.sh;h=b7c74bcbfab59701597631397d4d0fc59c77c1ff;hp=d61191d26a4c05b390c7a523bee387ff179a354d;hb=892daba4c616407f16506415d5a69549519ef11d;hpb=76b4495d593ccf45d712db1a3ec96fa9d2d8f5f5 diff --git a/fapi_5g/bin/oran_5g_fapi.sh b/fapi_5g/bin/oran_5g_fapi.sh index d61191d..b7c74bc 100755 --- 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