"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ptrace.h" between
reptyr-reptyr-0.7.0.tar.gz and reptyr-reptyr-0.8.0.tar.gz

About: reptyr is a utility for taking an existing running program and attaching it to a new terminal.

ptrace.h  (reptyr-reptyr-0.7.0):ptrace.h  (reptyr-reptyr-0.8.0)
skipping to change at line 25 skipping to change at line 25
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#ifndef PTRACE_H #ifndef PTRACE_H
#define PTRACE_H #define PTRACE_H
#ifdef __powerpc__
#include <asm/ptrace.h>
#endif
#include <sys/ptrace.h> #include <sys/ptrace.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/user.h> #include <sys/user.h>
#include <unistd.h> #include <unistd.h>
/* /*
* See https://github.com/nelhage/reptyr/issues/25 and * See https://github.com/nelhage/reptyr/issues/25 and
* https://github.com/nelhage/reptyr/issues/26. * https://github.com/nelhage/reptyr/issues/26.
* *
* Older glibc's don't define PTRACE_{SETOPTIONS,GETEVENTMSG}, (but do * Older glibc's don't define PTRACE_{SETOPTIONS,GETEVENTMSG}, (but do
skipping to change at line 47 skipping to change at line 50
* could potentially detect the right headers at configure-time, but * could potentially detect the right headers at configure-time, but
* I'd like to avoid adding autoconf. These numbers can't ever change * I'd like to avoid adding autoconf. These numbers can't ever change
* for ABI-compatibility reasons, at least. * for ABI-compatibility reasons, at least.
*/ */
#ifndef PTRACE_SETOPTIONS #ifndef PTRACE_SETOPTIONS
#define PTRACE_SETOPTIONS 0x4200 #define PTRACE_SETOPTIONS 0x4200
#endif #endif
#ifndef PTRACE_GETEVENTMSG #ifndef PTRACE_GETEVENTMSG
#define PTRACE_GETEVENTMSG 0x4201 #define PTRACE_GETEVENTMSG 0x4201
#endif #endif
#ifndef PTRACE_GETREGSET
#define PTRACE_GETREGSET 0x4204
#endif
#ifndef PTRACE_SETREGSET
#define PTRACE_SETREGSET 0x4205
#endif
enum child_state { enum child_state {
ptrace_detached = 0, ptrace_detached = 0,
ptrace_at_syscall, ptrace_at_syscall,
ptrace_after_syscall, ptrace_after_syscall,
ptrace_running, ptrace_running,
ptrace_stopped, ptrace_stopped,
ptrace_exited ptrace_exited
}; };
 End of changes. 2 change blocks. 
0 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)