This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 6/6] Implement proper "startup-with-shell" support on gdbserver
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org, palves at redhat dot com, lgustavo at codesourcery dot com
- Date: Wed, 08 Feb 2017 19:02:23 -0500
- Subject: Re: [PATCH v3 6/6] Implement proper "startup-with-shell" support on gdbserver
- Authentication-results: sourceware.org; auth=none
- References: <1482464361-4068-1-git-send-email-sergiodj@redhat.com> <20170208032257.15443-1-sergiodj@redhat.com> <20170208032257.15443-7-sergiodj@redhat.com> <8360kk60zn.fsf@gnu.org>
On Wednesday, February 08 2017, Eli Zaretskii wrote:
>> From: Sergio Durigan Junior <sergiodj@redhat.com>
>> Cc: Pedro Alves <palves@redhat.com>, Luis Machado <lgustavo@codesourcery.com>, Sergio Durigan Junior <sergiodj@redhat.com>
>> Date: Tue, 7 Feb 2017 22:22:57 -0500
>>
>> diff --git a/gdb/NEWS b/gdb/NEWS
>> index 21e8cd3..f26e95e 100644
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -3,6 +3,13 @@
>>
>> *** Changes since GDB 7.12
>>
>> +* GDBserver is now able to start inferiors using a shell. When using
>> + "target extended-remote", the host GDB honors the value of "set
>> + startup-with-shell" in order to inform GDBserver whether the remote
>> + inferior should be started with a shell or not. When using "target
>> + remote", it is possible to disable the startup with shell by using
>> + the new parameter "--no-startup-with-shell" when starting GDBserver.
>> +
>> * Building GDB and GDBserver now requires a C++11 compiler.
>>
>> For example, GCC 4.8 or later.
>> @@ -367,6 +374,9 @@ show max-value-size
>>
>> * New remote packets
>>
>> +QStartupWithShell
>> + Indicates whether the inferior must be started with a shell or not.
>> +
>> exec stop reason
>> Indicates that an exec system call was executed.
>
> This part is OK.
>
>> +If @var{value} is @var{0}, @command{gdbserver} will not use a shell to
>> +start the inferior. If @var{value} is @var{1}, @command{gdbserver}
>
> "0" and "1" should be in @samp, not @var, because they are literal
> symbols.
>
>> +@item E @var{nn}
>> +An error occurred. The error number @var{nn} is give as hex digits.
> ^^^^
> "given"
>
> Documentation patch is OK with those minor issues fixed.
Thanks, I fixed the minor issues you pointed.
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/