summaryrefslogtreecommitdiffstats
path: root/lib/libproc/proc_bkpt.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r309591:markj2017-04-111-35/+35
| | | | Fix style bugs and remove trailing whitespace in libproc and librtld_db.
* Add support for RISC-V ISA.br2016-01-241-0/+3
| | | | | | | Reviewed by: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D5040
* Fix libproc on architectures that don't need the program counter to beandrew2015-08-241-1/+10
| | | | | | | | | | adjusted. This seems to be the case on all non-x86 architectures libproc supports. Reviewed by: kib Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3465
* Make libproc compilable on AArch64.br2015-07-011-8/+14
|
* Initial version of DTrace on ARM32.gnn2015-02-101-0/+3
| | | | | Submitted by: Howard Su based on work by Oleksandr Tymoshenko Reviewed by: ian, andrew, rpaulo, markj
* If the traced process stops because it received a signal, libproc needsmarkj2014-05-041-15/+14
| | | | | | to ensure that the signal is forwarded when proc_continue() is called. MFC after: 3 weeks
* Modify the libproc breakpoint add/remove functions to stop the targetmarkj2013-11-051-7/+59
| | | | | | | | | | | | | | process if it has not already been stopped, since this is required for ptrace(2) to work. libdtrace does not seem to stop target processes before trying to remove their breakpoints, so we were previously failing to remove the breakpoint on r_debug_state() in rtld. This was causing processes to die with SIGTRAP if they called dlopen(3) after dtrace(1) had detached. Reported by: symbolics@gmx.com Reviewed by: rpaulo MFC after: 1 month
* Clean up the debug printing in libproc a bit. In particular:markj2013-10-271-12/+12
| | | | | | * Don't print any error messages to stderr unless DEBUG is defined. * Add a DPRINTFX macro for use when errno isn't set. * Print the error string from libelf when appropriate.
* Implement DTrace for PowerPC. This includes both 32-bit and 64-bit.jhibbits2012-11-071-0/+3
| | | | | | | | | | | There is one known issue: Some probes will display an error message along the lines of: "Invalid address (0)" I tested this with both a simple dtrace probe and dtruss on a few different binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect problems without the modules loaded. Volunteers are welcome. MFC after: 1 month
* Make libproc compilable for MIPSgonzo2012-03-231-0/+3
|
* Several fixes for libproc:rpaulo2010-08-111-1/+2
| | | | | | | | o return the correct status in proc_wstatus() o proc_read takes a void * o correctly allocate the objs structure array Sponsored by: The FreeBSD Foundation
* New version of libproc. Changes are:rpaulo2010-07-311-0/+183
* breakpoint setup support * register query * symbol to address mapping and vice-versa * more misc utility functions based on their Solaris counterpart Also, I've written some test cases. Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud