{"push_id":2510363510,"size":5,"distinct_size":5,"ref":"refs/heads/master","head":"f1d5ce48f8a27c9b12c78acb4fd45c702f9f76f5","before":"539b4511d859f56e3bbfe4dcb7e03f57ca4348b7","commits":[{"sha":"cd0a5de420f8898f37e11f0da6ba2fae25fd4822","author":{"name":"jhb","email":"bfed11ad5cdd21dfd9ed695a5c3e9ad4e680f6af@FreeBSD.org"},"message":"Extend support for ptrace() tests using breakpoints.\n\n- Use a single list of platforms to define HAVE_BREAKPOINT for platforms\n  that expose a functional breakpoint() inline to userland.  Replace\n  existing lists of platform tests with HAVE_BREAKPOINT instead.\n- Add support for advancing PC past a breakpoint inserted via breakpoint()\n  to support the existing ptrace__PT_CONTINUE_different_thread test on\n  non-x86 platforms (x86 advances the PC past the breakpoint instruction,\n  but other platforms do not).  This is implemented by defining a new\n  SKIP_BREAK macro which accepts a pointer to a 'struct reg' as its sole\n  argument and modifies the contents to advance the PC.  The intention is\n  to use it in between PT_GETREGS and PT_SETREGS.\n\nTested on:\tamd64, i386, mips (after adding a breakpoint() to mips)\nMFC after:\t1 month","distinct":true,"url":"https://api.github.com/repos/bsd-hacker/freebsd/commits/cd0a5de420f8898f37e11f0da6ba2fae25fd4822"},{"sha":"bcd7a2f67d5ab66da84ffa6907dcc781b5372bd8","author":{"name":"jhb","email":"bfed11ad5cdd21dfd9ed695a5c3e9ad4e680f6af@FreeBSD.org"},"message":"Expose breakpoint() to userland from <machine/cpufunc.h> on MIPS.\n\nEnable ptrace() tests using breakpoint on MIPS as well.\n\nTested on:\tmips64\nMFC after:\t1 month","distinct":true,"url":"https://api.github.com/repos/bsd-hacker/freebsd/commits/bcd7a2f67d5ab66da84ffa6907dcc781b5372bd8"},{"sha":"e2b0d83db1c312cef05558c0e1b17515aaba4b60","author":{"name":"jhb","email":"bfed11ad5cdd21dfd9ed695a5c3e9ad4e680f6af@FreeBSD.org"},"message":"Add two tests for TRAP_* signal codes for SIGTRAP.\n\n- ptrace__breakpoint_siginfo tests that a SIGTRAP for a software breakpoint\n  in userland triggers a SIGTRAP with a signal code of TRAP_BRKPT.\n- ptrace__step_siginfo tests that a SIGTRAP reported for a step after\n  stepping via PT_STEP or PT_SETSTEP has a signal code of TRAP_TRACE.","distinct":true,"url":"https://api.github.com/repos/bsd-hacker/freebsd/commits/e2b0d83db1c312cef05558c0e1b17515aaba4b60"},{"sha":"089cc5e679d0daf1507b68467d4bd99b9d8e06e4","author":{"name":"jhb","email":"bfed11ad5cdd21dfd9ed695a5c3e9ad4e680f6af@FreeBSD.org"},"message":"Report proper signal codes for SIGTRAP traps on MIPS.\n\n- Use TRAP_TRACE for traps after stepping via PT_STEP.\n- Use TRAP_BRKPT for software breakpoint traps and watchpoint traps.\n\nThis was tested via the recently added siginfo ptrace() tests.  PT_STEP on\nMIPS has several bugs that prevent it from working yet, but this does fix\nthe ptrace__breakpoint_siginfo test on MIPS.","distinct":true,"url":"https://api.github.com/repos/bsd-hacker/freebsd/commits/089cc5e679d0daf1507b68467d4bd99b9d8e06e4"},{"sha":"f1d5ce48f8a27c9b12c78acb4fd45c702f9f76f5","author":{"name":"jhb","email":"bfed11ad5cdd21dfd9ed695a5c3e9ad4e680f6af@FreeBSD.org"},"message":"Relock PROC_LOCK before one failure case in ptrace_single_step().\n\nThe MIPS ptrace_single_step() unlocks the PROC_LOCK while reading and\nwriting instructions from userland.  One failure case was not reacquiring\nthe lock before returning.","distinct":true,"url":"https://api.github.com/repos/bsd-hacker/freebsd/commits/f1d5ce48f8a27c9b12c78acb4fd45c702f9f76f5"}]}
{"actor":{"display_login":"bsd-hacker"}}