]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r256661 r257222 r257235 r257248 r257298.
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Dec 2013 22:36:27 +0000 (22:36 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Dec 2013 22:36:27 +0000 (22:36 +0000)
commit9c63cd301d06cdabf84249dac02b8dad4aae3043
tree5bdcf42531efa1c8eb5b6b739eb9edfa90adb34a
parentd62a94fe32b2d7b1a1aad2c85e2dea9b417bf5b9
MFC r256661 r257222 r257235 r257248 r257298.

MFC r256661:
Fix the libproc build when DEBUG is defined.

MFC r257222:
Clean up the debug printing in libproc a bit. In particular:

* 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.

MFC r257235:
Remove an incorrect debug printf.

MFC r257248:
Fix the build with gcc.

MFC r257298:
Revert r257248 and fix the problem in a way that doesn't violate style(9).

git-svn-id: svn://svn.freebsd.org/base/stable/10@259895 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libproc/_libproc.h
lib/libproc/proc_bkpt.c
lib/libproc/proc_create.c
lib/libproc/proc_regs.c
lib/libproc/proc_sym.c
lib/libproc/proc_util.c