[remote feature] fork/vfork/exec events
Bug #804407 reported by
Ulrich Weigand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GDB |
Fix Released
|
Undecided
|
Thiago Jung Bauermann |
Bug Description
The gdbserver remote target does not support fork/vfork/exec events / catchpoints.
Changed in gdb-linaro: | |
assignee: | nobody → Ulrich Weigand (uweigand) |
Changed in gdb-linaro: | |
assignee: | Ulrich Weigand (uweigand) → Thiago Jung Bauermann (thiago-bauermann) |
Changed in gdb-linaro: | |
status: | New → Confirmed |
To post a comment you must log in.
Steps to Reproduce:
test_fork.c is attached.
on an arm target (mine is a panda board): gcc -o test_fork test_fork.c
Build gdb 7.2 with following configurations on your host: arm-linux- gnueabihf --with-expat --disable-nls --disable-sim --disable- install- libbfd --with- sysroot= remote:
./configure --target=
copy test_fork build on your target to your host machine.
Run your newly built gdb: ./gdb/gdb test_fork
make sure a port is open from your host to target and you can have tcp communication going.
Build gdbserver on your host if you havnt already done it.
Run following command on your target: ./gdbserver :port test_fork
on host gdb run the following command: target remote target_ remote_ ip_or_hostname: port
break main
continue
catch fork
continue
you will get the following error message "warning: Error inserting catchpoint 1: Your system does not support this type
of catchpoint."