]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r256661 r257222 r257235 r257248 r257298.
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Dec 2013 22:32:52 +0000 (22:32 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Dec 2013 22:32:52 +0000 (22:32 +0000)
commit54d0c5d53fa32376d9f98ea9eb08db62b1bee3a9
treeb365b768f85e8d05e33b1ba16a4448f33a47eefd
parent8dfb2c88cc02620379b3b884d49b19ebaf515b31
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/9@259894 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