This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 0/2] Make gdbserver work with filename-only binaries
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>, Pedro Alves <palves at redhat dot com>, Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 28 Feb 2018 21:23:49 -0500
- Subject: Re: [PATCH v3 0/2] Make gdbserver work with filename-only binaries
- Authentication-results: sourceware.org; auth=none
- References: <20180210014241.19278-3-sergiodj@redhat.com> <20180228032708.19670-1-sergiodj@redhat.com>
On Tuesday, February 27 2018, I wrote:
> Third version.
>
> These two patches fix the issue pointed by Simon on IRC, that
> gdbserver doesn't recognize filename-only binaries anymore:
>
> $ gdbserver :1234 a.out
> /bin/bash: line 0: exec: a.out: not found
> During startup program exited with code 127.
> Exiting
>
> The first one is a preparation patch (and can go in independently),
> which moves path-manipulation functions from utils.c to a new
> common/pathstuff.c, making them available for gdbserver as well.
>
> The second patch is the fix itself.
>
> More details in each message.
Simon reminded me that this patch is also a good fit for the 8.1 branch,
so I went ahead and pushed it there.
506817a3abd98859eb3474389e756c0253cc28a1
2441702a72f324e41a1624dc042b334f375e2d81
6d607b8812b35ff36fbbad2915696f6669f86a32
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/