Pedro Gonçalves ( LSTS - FEUP )
--
www.github.com/LSTS/
www.lsts.pt
---
You received this message because you are subscribed to the Google Groups "LSTS Toolchain" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lsts-toolchain+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/lsts-toolchain.
To view this discussion on the web visit https://groups.google.com/d/msgid/lsts-toolchain/5d434aac-0d85-4af1-bc4f-a545adc1b92c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
➜ file dunedune: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, stripped
Hi,What is the output of the command "show sysroot" (to be executed in gdb of target)?The output has to be " system root is "/". ", if not, try execute the command " set sysroot /", to set the path of file system/lib.Best Regards
Pedro Gonçalves ( LSTS - FEUP )
2017-08-01 18:34 GMT+01:00 Kristian Klausen <kkn...@gmail.com>:
Hi,
We are developing a driver which we would like to debug with gdb on target (a beaglebone black, with Glued).
However, when we are cross-compiling, the debug symbols seems to not be generated, even with the Cmake switches DEBUG and PROFILE set to true. Thus, when we run gdb on target, it can't find the debug symbols.
I have noticed that the -g flags seems to be removed in the cmake/Toolchain.cmake file, and we have tried re-adding the the flag manually in the CMakeLists.txt-file with no success.
Any tips to resolve this?
Best regards,
Kristian Klausen
--
www.github.com/LSTS/
www.lsts.pt
---
You received this message because you are subscribed to the Google Groups "LSTS Toolchain" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lsts-toolchai...@googlegroups.com.
ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, with debug_info, not stripped
To unsubscribe from this group and stop receiving emails from it, send an email to lsts-toolchain+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/lsts-toolchain.
To view this discussion on the web visit https://groups.google.com/d/msgid/lsts-toolchain/1b5a228e-f676-4190-aec6-2d2a313f2065%40googlegroups.com.
set(CPACK_STRIP_FILES "bin/dune"
if(CMAKE_BUILD_TYPE MATCHES "Debug")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g") endif(CMAKE_BUILD_TYPE MATCHES "Debug")
cmake -DDEBUG=1 -DCROSS=/home/mortenfyhn/dune/glued/ntnu-b2xx/toolchain/bin/armv7-lsts-linux-gnueabihf- ../dune
--
www.github.com/LSTS/
www.lsts.pt
---
You received this message because you are subscribed to the Google Groups "LSTS Toolchain" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lsts-toolchain+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/lsts-toolchain.
To view this discussion on the web visit https://groups.google.com/d/msgid/lsts-toolchain/b465fe45-4e36-4393-82e4-3ebf2f69555a%40googlegroups.com.