This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 1/6] Share gdb/environ.[ch] with gdbserver


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,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]