<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libproc, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2015-02-20T20:02:47Z</updated>
<entry>
<title>MFC r278658:</title>
<updated>2015-02-20T20:02:47Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2015-02-20T20:02:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7ea7c966673345f96526ebb718cd94e3ce5ee3a4'/>
<id>urn:sha1:7ea7c966673345f96526ebb718cd94e3ce5ee3a4</id>
<content type='text'>
  Teach libproc how to find debugging symbols in /usr/lib/debug.
</content>
</entry>
<entry>
<title>MFC r264400,r265836:</title>
<updated>2014-12-31T23:25:37Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-12-31T23:25:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be39f9d2337a354f95e8be9e96a52202de94b428'/>
<id>urn:sha1:be39f9d2337a354f95e8be9e96a52202de94b428</id>
<content type='text'>
r264400:

  NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
  and finish the job. ncurses is now the only Makefile in the tree that
  uses it since it wasn't a simple mechanical change, and will be
  addressed in a future commit.

r265836:

  Remove last two NO_MAN= in the tree. In both of these cases, MAN= is
  what is needed.
</content>
</entry>
<entry>
<title>MFC r265255, r270506:</title>
<updated>2014-08-27T19:51:42Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-08-27T19:51:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f452e98a4dfc133f2982ce5e544595a54a207814'/>
<id>urn:sha1:f452e98a4dfc133f2982ce5e544595a54a207814</id>
<content type='text'>
Allow "a.out" as an alias for the executable if no other matching entries
are found.
</content>
</entry>
<entry>
<title>MFC r269750:</title>
<updated>2014-08-12T17:56:48Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-08-12T17:56:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d1039c0d6f7746eab05b1bda8264fb7ddad26156'/>
<id>urn:sha1:d1039c0d6f7746eab05b1bda8264fb7ddad26156</id>
<content type='text'>
In r268463, I misplaced a return in demangle(), causing the function to
erroneously skip symbols that were not mangled at all.  Fix this by
moving the return into the preceding if block.

While here, simplify the code by letting __cxa_demangle() allocate the
needed space for the demangled symbol.  This also fixes a memory leak,
which would occur whenever __cxa_demangle() failed.

Reported by:	pgj
PR:		base/191981
</content>
</entry>
<entry>
<title>MFC r265308:</title>
<updated>2014-08-09T15:00:03Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-08-09T15:00:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f72c2ba1ee466aa5af1b0a2b95d7067256e534b8'/>
<id>urn:sha1:f72c2ba1ee466aa5af1b0a2b95d7067256e534b8</id>
<content type='text'>
If the traced process stops because it received a signal, libproc needs
to ensure that the signal is forwarded when proc_continue() is called.
</content>
</entry>
<entry>
<title>MFC r268463:</title>
<updated>2014-07-16T21:04:31Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-07-16T21:04:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7dc2a58f4a88ba8aa6203230992770aedcca31fb'/>
<id>urn:sha1:7dc2a58f4a88ba8aa6203230992770aedcca31fb</id>
<content type='text'>
In libproc, avoid calling __cxa_demangle(), and thus depending on either
libcxxrt or libsupc++, if WITHOUT_CXX is defined. [1]

Noticed by:	sbruno

[1] However, on stable/10 this is more accurately described by
WITHOUT_GNUCXX, so I've changed the test to that instead.
</content>
</entry>
<entry>
<title>MFC r264436:</title>
<updated>2014-04-29T03:36:04Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-04-29T03:36:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f2fdf91ecdfe1671fd042b099bb9cad0f9ee9358'/>
<id>urn:sha1:f2fdf91ecdfe1671fd042b099bb9cad0f9ee9358</id>
<content type='text'>
Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the
first address after the end of the map entry and should therefore be
excluded.
</content>
</entry>
<entry>
<title>MFC r258000:</title>
<updated>2013-12-27T23:00:56Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2013-12-27T23:00:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9bae78a81afed6244bd10ab60f01ae349faa70ef'/>
<id>urn:sha1:9bae78a81afed6244bd10ab60f01ae349faa70ef</id>
<content type='text'>
Consistently add the relocation offset only when the ELF type is not
ET_EXEC. This fixes several problems with the DTrace pid provider not
being able to match probes.
</content>
</entry>
<entry>
<title>MFC r257670:</title>
<updated>2013-12-27T22:30:36Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2013-12-27T22:30:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6724b7cd2f5d8b9a9067186a27b4235a3540415f'/>
<id>urn:sha1:6724b7cd2f5d8b9a9067186a27b4235a3540415f</id>
<content type='text'>
Modify the libproc breakpoint add/remove functions to stop the target
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.
</content>
</entry>
<entry>
<title>MFC r257300:</title>
<updated>2013-12-27T22:19:19Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2013-12-27T22:19:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6810edc880e719bc1ea5b0ddb3d9dad5afb1a6f7'/>
<id>urn:sha1:6810edc880e719bc1ea5b0ddb3d9dad5afb1a6f7</id>
<content type='text'>
Fix an off-by-one error when checking whether a given address is within
the extent of a symbol.
</content>
</entry>
</feed>
