Re: [vpp-dev] Having trouble disabling optimization

2021-07-28 Thread Dave Barach
: [vpp-dev] Having trouble disabling optimization Hello again, Thank you for the reply. I can't completely understand how am I supposed to make it work. I successfully generated -g -O0 binaries the way you explained using "make build" from my vagrant vm and then I tried various

Re: [vpp-dev] Having trouble disabling optimization

2021-07-28 Thread Ivaylo Handjiiski
Hello again, Thank you for the reply. I can't completely understand how am I supposed to make it work. I successfully generated -g -O0 binaries the way you explained using "make build" from my vagrant vm and then I tried various scenarios: - I copied the binaries from my vagrant vm to my

Re: [vpp-dev] Having trouble disabling optimization

2021-07-22 Thread Dave Barach
>From the root of your workspace, “make build” will generate -g -o0 binaries… > On Jul 22, 2021, at 8:56 AM, Ivaylo Handjiiski wrote: > >  > Hello, > > I am trying to debug the VPP code using gdb but when I am examining or > printing variables most of them are . > > I've built vpp with -O0

[vpp-dev] Having trouble disabling optimization

2021-07-22 Thread Ivaylo Handjiiski
Hello, I am trying to debug the VPP code using gdb but when I am examining or printing variables most of them are . I've built vpp with -O0 flags. I am using a vagrant vm as a building environment and my build process is as follows: make TAG=vpp_debug install-dep make TAG=vpp_debug pkg-deb