This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 1/6] Share gdb/environ.[ch] with gdbserver
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Luis Machado <lgustavo at codesourcery dot com>
- Date: Tue, 07 Mar 2017 15:50:03 -0500
- Subject: Re: [PATCH v3 1/6] Share gdb/environ.[ch] with 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-2-sergiodj@redhat.com> <c8c878bd-d240-6ea0-1ef5-9596de3c7e5a@redhat.com>
On Wednesday, February 15 2017, Pedro Alves wrote:
> On 02/08/2017 03:22 AM, Sergio Durigan Junior wrote:
>> We will need access to the environment functions when we share
>> fork_inferior between GDB and gdbserver, therefore we simply make the
>> API on gdb/environ.[ch] available on common/. No extra adjustments
>> are needed to make it compile on gdbserver.
>>
>> gdb/ChangeLog:
>> yyyy-mm-dd Sergio Durigan Junior <sergiodj@redhat.com>
>>
>> * Makefile.in (SFILES): Replace "environ.c" with
>> "common/environ.c".
>> (HFILES_NO_SRCDIR): Likewise, for "environ.h".
>> * environ.c: Include "common-defs.h" instead of "defs.h. Moved
>> to...
>> * common/environ.c: ... here.
>> * environ.h: Moved to...
>> * common/environ.h: ... here.
>>
>> gdb/gdbserver/ChangeLog:
>> yyyy-mm-dd Sergio Durigan Junior <sergiodj@redhat.com>
>>
>> * Makefile.in (SFILES): Add "common/environ.c".
>> (OBJS): Add "common/environ.h".
>
> OK.
Thanks, checked in:
1672e0d98d88d11b5c7d5793bd2cf29cbb56696f
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/