gdb - gdbserver tracepoint arm support -
i compiled gdbserver 7.6 arm with:
cd /gdb-7.6-src/gdb/gdbserver ./configure --target=arm-linux --host=arm-linux make cc=/path/to/cross-compiler-gcc
then compiled gdb 7.6 arm with:
cd /gdb-7.6-src/ ./configure --target=arm-linux --prefix=/opt/gdb-arm/install/ make && make install
i compiled trivial application with:
/path/to/cross-compiler-gcc hello.c -g -o hello
i copied gdbserver , cross-compiled application on board. pc (x86-pc-linux) run:
gdb hello (gdb) set target-async on (gdb) tvariable $c (gdb) actions >teval $c=$c+1 >end (gdb) break main (gdb) target remote <ipaddr>:<port> [thread 1585] #1 stopped. 0x40000800 in ?? () cannot access memory @ address 0x0 (gdb) continue & (gdb) tstart target not support command. (gdb) tstatus target not support command.
the behaviour 'normal' until tstart command: can debug application want, unable start tracing app.
the question is: does gdbserver support tracepoints arm or x86/amd_64?
i searching samething, i've found in gdb online docs webdocs there no support archs.
check more info: https://sourceware.org/gdb/onlinedocs/gdb/tracepoints.html
quoting:
this functionality implemented in remote stub; however, none of stubs distributed gdb support tracepoints of writing
Comments
Post a Comment