I try to debug hello example on beagleboard with DS-5, I got errors as follows,
Connected to gdbserver at file "/home/tang/Project/hello/stripped/hello" WARNING(IMG53): No line debug information in the image hello WARNING(LUX47): The image /home/tang/Project/hello/stripped/hello does not match the target ERROR(LUX48-TAD10-NAL79): ! Failed to set up shared library support ! Failed to read 4 bytes from address 0x0001059C ! Remote GDB returned error code 0x01 add-symbol-file "/home/tang/Project/hello/hello" 0x0 set start-at main start Starting target with image /home/tang/Project/hello/stripped/hello ERROR(TAD8-NAL79): ! Unable to run device 1 ! Failed to enable software breakpoints. Remote GDB returned error code 0x01 quit Successfully disconnected from stopped target gdbserver
But if I copy stripped hello to begaleboard, then run it. It works.