<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>Remove old local-only linux debugging code</title>
<updated>2015-06-24T14:43:20+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>labath@google.com</email>
</author>
<published>2015-06-24T14:43:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b36f9178548d3c6ef6d6f89187e5307ec434f7fc'/>
<id>b36f9178548d3c6ef6d6f89187e5307ec434f7fc</id>
<content type='text'>
Summary:
Currently, the local-only path fails about 50% of the tests, which means that: a) nobody is using
it; and b) the remote debugging path is much more stable. This commit removes the local-only
linux debugging code (ProcessLinux) and makes remote-loopback the only way to debug local
applications (the same architecture as OSX). The ProcessPOSIX code is moved to the FreeBSD
directory, which is now the only user of this class. Hopefully, FreeBSD will soon move to the new
architecture as well and then this code can be removed completely.

Test Plan: Test suite passes via remote stub.

Reviewers: emaste, vharron, ovyalov, clayborg

Subscribers: tberghammer, emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D10661

llvm-svn: 240543
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Currently, the local-only path fails about 50% of the tests, which means that: a) nobody is using
it; and b) the remote debugging path is much more stable. This commit removes the local-only
linux debugging code (ProcessLinux) and makes remote-loopback the only way to debug local
applications (the same architecture as OSX). The ProcessPOSIX code is moved to the FreeBSD
directory, which is now the only user of this class. Hopefully, FreeBSD will soon move to the new
architecture as well and then this code can be removed completely.

Test Plan: Test suite passes via remote stub.

Reviewers: emaste, vharron, ovyalov, clayborg

Subscribers: tberghammer, emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D10661

llvm-svn: 240543
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor many file functions to use FileSpec over strings.</title>
<updated>2015-05-29T19:52:29+00:00</updated>
<author>
<name>Chaoren Lin</name>
<email>chaorenl@google.com</email>
</author>
<published>2015-05-29T19:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d3173f34e8546a96b8d0df0d9de133f88f10c127'/>
<id>d3173f34e8546a96b8d0df0d9de133f88f10c127</id>
<content type='text'>
Summary:
This should solve the issue of sending denormalized paths over gdb-remote
if we stick to GetPath(false) in GDBRemoteCommunicationClient, and let the
server handle any denormalization.

Reviewers: ovyalov, zturner, vharron, clayborg

Reviewed By: clayborg

Subscribers: tberghammer, emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D9728

llvm-svn: 238604
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This should solve the issue of sending denormalized paths over gdb-remote
if we stick to GetPath(false) in GDBRemoteCommunicationClient, and let the
server handle any denormalization.

Reviewers: ovyalov, zturner, vharron, clayborg

Reviewed By: clayborg

Subscribers: tberghammer, emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D9728

llvm-svn: 238604
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't #include "lldb-python.h" from anywhere.</title>
<updated>2015-05-29T17:41:47+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2015-05-29T17:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1124045ac739480b69eb7c9be2ce09d4898c4ed0'/>
<id>1124045ac739480b69eb7c9be2ce09d4898c4ed0</id>
<content type='text'>
Since interaction with the python interpreter is moving towards
being more isolated, we won't be able to include this header from
normal files anymore, all includes of it should be localized to
the python library which will live under source/bindings/API/Python
after a future patch.

None of the files that were including this header actually depended
on it anyway, so it was just a dead include in every single instance.

llvm-svn: 238581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since interaction with the python interpreter is moving towards
being more isolated, we won't be able to include this header from
normal files anymore, all includes of it should be localized to
the python library which will live under source/bindings/API/Python
after a future patch.

None of the files that were including this header actually depended
on it anyway, so it was just a dead include in every single instance.

llvm-svn: 238581
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove DoAttachToProcessWithId(lldb::pid_t).</title>
<updated>2015-05-13T19:44:44+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2015-05-13T19:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1aa755ce772a311a1c5280578d6303be8d088203'/>
<id>1aa755ce772a311a1c5280578d6303be8d088203</id>
<content type='text'>
There were two versions of DoAttachToprocessWithId.  One that takes
a pid_t, and the other which takes a pid_t and a ProcessAttachInfo.
There were no callers of the former version, and all of the
implementations of this version were simply forwarding calls to
one version or the other.

llvm-svn: 237281
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There were two versions of DoAttachToprocessWithId.  One that takes
a pid_t, and the other which takes a pid_t and a ProcessAttachInfo.
There were no callers of the former version, and all of the
implementations of this version were simply forwarding calls to
one version or the other.

llvm-svn: 237281
</pre>
</div>
</content>
</entry>
<entry>
<title>Get lldb-server building on android-9</title>
<updated>2015-05-12T01:10:56+00:00</updated>
<author>
<name>Vince Harron</name>
<email>vince@nethacker.com</email>
</author>
<published>2015-05-12T01:10:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8b33567189ea25fbdd454d9c4cc75cb2850a821f'/>
<id>8b33567189ea25fbdd454d9c4cc75cb2850a821f</id>
<content type='text'>
Build lldb-server with an android-9 sysroot.

llvm-svn: 237078
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Build lldb-server with an android-9 sysroot.

llvm-svn: 237078
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds Register Context Linux/POSIX for ARM Architecture  </title>
<updated>2015-04-14T07:30:20+00:00</updated>
<author>
<name>Omair Javaid</name>
<email>omair.javaid@linaro.org</email>
</author>
<published>2015-04-14T07:30:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3f57216ca45258e4dbae7f0490530dcaa52a6b52'/>
<id>3f57216ca45258e4dbae7f0490530dcaa52a6b52</id>
<content type='text'>
This patch is major step towards supporting lldb on ARM.
This adds all the required bits to support register manipulation on Linux Arm.
Also adds utility enumerations, definitions and register context classes for arm.

llvm-svn: 234870
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is major step towards supporting lldb on ARM.
This adds all the required bits to support register manipulation on Linux Arm.
Also adds utility enumerations, definitions and register context classes for arm.

llvm-svn: 234870
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove dead code in ProcessPOSIX.</title>
<updated>2015-04-01T18:56:14+00:00</updated>
<author>
<name>Davide Italiano</name>
<email>davide@freebsd.org</email>
</author>
<published>2015-04-01T18:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=029838496f43a03ddf4028be0468cc8ac194f917'/>
<id>029838496f43a03ddf4028be0468cc8ac194f917</id>
<content type='text'>
Differential Revision:	http://reviews.llvm.org/D8761

llvm-svn: 233831
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision:	http://reviews.llvm.org/D8761

llvm-svn: 233831
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix TestProcesslaunch regression caused by D7372</title>
<updated>2015-02-06T11:32:52+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>labath@google.com</email>
</author>
<published>2015-02-06T11:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3a2da9eb0deb330d7cd85bfc40f3761875e68b4e'/>
<id>3a2da9eb0deb330d7cd85bfc40f3761875e68b4e</id>
<content type='text'>
Summary:
After closing all the leaked file descriptors to the inferior tty, the following problem occured:
- when stdin, stdout and stderr are redirected, there are no slave descriptors open (which is good)
- lldb has a reader thread, which attempts to read from the master end of the tty
- this thread receives an EOF
- in response, it closes it's master end
- as this is the last open file descriptor for the master end, this deletes the tty and sends
  SIGHUP to the inferior (this is bad)

I fix this problem by making sure the master end remains open for the duration of the inferior
process by storing a copy of the file descriptor in ProcessMonitor. I create a copy to avoid
ownership issues with the reading thread.

Reviewers: ovyalov, emaste

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D7440

llvm-svn: 228391
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
After closing all the leaked file descriptors to the inferior tty, the following problem occured:
- when stdin, stdout and stderr are redirected, there are no slave descriptors open (which is good)
- lldb has a reader thread, which attempts to read from the master end of the tty
- this thread receives an EOF
- in response, it closes it's master end
- as this is the last open file descriptor for the master end, this deletes the tty and sends
  SIGHUP to the inferior (this is bad)

I fix this problem by making sure the master end remains open for the duration of the inferior
process by storing a copy of the file descriptor in ProcessMonitor. I create a copy to avoid
ownership issues with the reading thread.

Reviewers: ovyalov, emaste

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D7440

llvm-svn: 228391
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for denied process attach by pid and fix found bugs in Process/ProcessPOSIX.cpp</title>
<updated>2014-11-19T18:27:45+00:00</updated>
<author>
<name>Oleksiy Vyalov</name>
<email>ovyalov@google.com</email>
</author>
<published>2014-11-19T18:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5d06474b293c8a15d6e7cad60a9d55df83b19ab5'/>
<id>5d06474b293c8a15d6e7cad60a9d55df83b19ab5</id>
<content type='text'>
and FreeBSD/ProcessMonitor.

http://reviews.llvm.org/D6240

llvm-svn: 222372
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and FreeBSD/ProcessMonitor.

http://reviews.llvm.org/D6240

llvm-svn: 222372
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken Linux build after signature change of ResolveExecutable.</title>
<updated>2014-11-17T22:16:42+00:00</updated>
<author>
<name>Oleksiy Vyalov</name>
<email>ovyalov@google.com</email>
</author>
<published>2014-11-17T22:16:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6edef20405d2f6ac190d796b215d6d288e8dc125'/>
<id>6edef20405d2f6ac190d796b215d6d288e8dc125</id>
<content type='text'>
llvm-svn: 222182
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 222182
</pre>
</div>
</content>
</entry>
</feed>
