[remote feature] fork/vfork/exec events

Bug #804407 reported by Ulrich Weigand
6
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)
Revision history for this message
Muhammad Omair Javaid (omair-javaid) wrote :

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:
./configure --target=arm-linux-gnueabihf --with-expat --disable-nls --disable-sim --disable-install-libbfd --with-sysroot=remote:

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."

Changed in gdb-linaro:
status: New → Confirmed
Revision history for this message
Will Newton (will-newton) wrote :

This is in JIRA as TCWG-263

Changed in gdb-linaro:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.