This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/5] Extended-remote follow exec


This patch series is the latest version that implements exec events
for extended-remote Linux targets.  It provides exec event notification,
follow-exec functionality, and exec catchpoints.  Several tests related
to exec event features have been modified to work with the
native-extended-gdbserver target.

It is part of the larger effort to implement "remote follow fork".  This
work has been divided into three parts:

1) Extended-remote fork events, providing follow-fork-mode,
detach-on-fork, and fork catchpoints.  This was pushed earlier this
year: https://sourceware.org/ml/gdb-patches/2015-05/msg00278.html

2) Extended-remote exec events, this patchset.

3) Fork and exec events for native-gdbserver target.

This patchset derives from part of a patch series submitted last October:

https://sourceware.org/ml/gdb-patches/2014-10/msg00868.html

The primary difference between this patchset and that one is that this
one does not use ptrace exit events (PTRACE_O_TRACEEXIT) for notification
of thread exit.  In addition, a number of changes were made to conform to
to the final version of the extended-remote fork event patchset (#1 above).

Tested on x86_64 GNU/Linux with native, native-gdbserver, and 
native-extended-gdbserver targets.

The contents of this patchset are as follows:

Patch 1/5: Extended-remote exec event support.

Patch 2/5: Extended-remote exec catchpoints.

Patch 3/5: Extended-remote exec-related test updates.

Patch 4/5: Eliminates some spurious warnings related to solib load
	   events that are emitted after an extended-remote exec
	   event.

Patch 5/5: Extended-remote exec event documentation.

Thanks,
--Don


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]