This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbserver: support Unix domain sockets
- From: Pedro Alves <palves at redhat dot com>
- To: Yunlian Jiang <yunlian at google dot com>, gdb-patches at sourceware dot org
- Date: Thu, 10 Mar 2016 17:35:34 +0000
- Subject: Re: [PATCH] gdbserver: support Unix domain sockets
- Authentication-results: sourceware.org; auth=none
- References: <CAMsPy2shyuZECJ7Msx6ADk=SoyJHa6T5Ea0V2iKc7LJB9ntNVQ at mail dot gmail dot com>
On 03/10/2016 12:04 AM, Yunlian Jiang wrote:
This patch enables gdbserver to use Unix domain sockets if
the TCP sockets is not allowed to use. Wit this patch, user can
use "gdbserver +debug-socket --attach 123" to use Unix domain
sockets.
Thanks.
This is larger than what we can accept without a copyright
assignment with the FSF -- I looked at the records and
couldn't find one. Let me know if you'd like to get that started.
We'll also need, at least:
- A gdb manual update.
- A gdbserver --help update
- NEWS entry
- ChangeLog entry
See [1] for more details.
A couple offhand questions:
- How do you plan on using this from the gdb side?
- Is there a reason for picking "+" over some other way / syntax?
[1] http://sourceware.org/gdb/wiki/ContributionChecklist
Thanks,
Pedro Alves