Extended-remote catch exec
authorDon Breazeal <donb@codesourcery.com>
Fri, 11 Sep 2015 18:06:02 +0000 (11:06 -0700)
committerDon Breazeal <donb@codesourcery.com>
Fri, 11 Sep 2015 18:12:46 +0000 (11:12 -0700)
commitd46addbb52a1f6d970bcac583b0b00ff4326e116
tree9949852f9013c2a601d4266fbccbfdc4ba5f2285
parent94585166dfea8232c248044f9f4b1c217dc4ac2e
Extended-remote catch exec

This patch implements exec catchpoints for extended-remote Linux
targets.  The implementation follows the same approach used for
fork catchpoints, implementing extended-remote target routines for
inserting and removing the catchpoints by just checking if exec events
are supported.  Existing host-side code and previous support for
extended-remote exec events takes care of the rest.

gdb/ChangeLog:

* remote.c (remote_exec_event_p): New function.
(remote_insert_exec_catchpoint): New function.
(remote_remove_exec_catchpoint): New function.
(init_extended_remote_ops): Initialize extended_remote_ops
members to_insert_exec_catchpoint and
to_remove_exec_catchpoint.
gdb/ChangeLog
gdb/remote.c