fix incorrect gnulib getcwd replacement when cross-compiling GDB
authorSergio Durigan Junior <sergiodj@redhat.com>
Tue, 4 Sep 2018 17:51:46 +0000 (19:51 +0200)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 4 Sep 2018 18:00:50 +0000 (20:00 +0200)
commitf30171bf98082846a725c1d116650d0c8998564c
treef5579a7f09ca3288e41fd8cfd21be3728a19aa21
parentad56973ef161f09508a3daa2791ad0bd268c176f
fix incorrect gnulib getcwd replacement when cross-compiling GDB

This fixes a GDB crash observed on Android 8.0 when GDB was
cross-compiled. This patch is a backport of a patch pushed
upstream in gnulib.

gdb/ChangeLog (Sergio Durigan Junior  <sergiodj@redhat.com>):

        PR gdb/23558
        * gnulib/import/m4/getcwd-path-max.m4: Add handling of Hurd,
        Linux and kFreeBSD platforms.
        * gnulib/configure: Regenerate.
gdb/ChangeLog
gdb/gnulib/configure
gdb/gnulib/import/m4/getcwd-path-max.m4