AnsweredAssumed Answered

problem gdb and imx7d

Question asked by delauratfrançois on May 4, 2016
Latest reply on May 16, 2016 by delauratfrançois

Hello my name is François

 

I work with imx7dsabresd, I use jethro distribution. I use poky 2.0.1.I have a prolem with gdb.

All my applications work fine without debug. But if I use gdb I have  differents problems:

     - With an application hello world, if I use an breakpoint on line cout<<"Hello world"<<endl; an I do step over then the debugger go to file dl-fini.c and I have message : Can't find a source file at "/usr/src/debug/glibc/2.22-r0/git/elf/dl-fini.c"

     -With a small Qt application by example if  I use an breakpoint on line  QApplication app(argc, argv); n I do step over then the debugger go to file dl-execstack.c and I have message Can't find a source file at "/usr/src/debug/glibc/2.22-r0/git/elf/../sysdeps/unix/sysv/linux/dl-execstack.c"

     - With a big Qt application (with resource file .qrc) I have a sigsegv. The first line of my application is not running.

 

I work with gcc version 5.2.0 and gdb version 7.9.1. I tried with gdb version 7.8.1 I have same problems.

Can you help me please.

 

 

Thanks for All Help.

 

Best regards

François

Outcomes