I am attempting to run gdb, which came with the SDK, remotely to see what a program running on the C6a816x EVM ARM is doing and I get this:
(gdb) target remote 192.168.1.10:4567
Remote debugging using 192.168.1.10:4567
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0x00000000 in ?? ()
(gdb) b main
Breakpoint 4 at 0x9d08: file track.c, line 7.
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
A couple of questions: is the warning about Unable to find dynamic linker breakpoint function normal? I compiled the code using the -g option. Second, whenever I run from a breakpoint I get a segmentation fault and can do nothing further. As far as I can tell the fault is coming from gdb, not the program itself as the program runs fine on its own.
Lee Holeva