[PATCH] Adjust gdb-python checks
Chris Johns
chrisj at rtems.org
Mon Jul 29 22:11:47 UTC 2019
Thank you for the fix. It is a nice solution to the extra path on Linux.
OK to push.
Chris
On 30/7/19 7:13 am, Gedare Bloom wrote:
> ---
> source-builder/config/gdb-common-1.cfg | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/source-builder/config/gdb-common-1.cfg b/source-builder/config/gdb-common-1.cfg
> index 159b8a5..0f028ff 100644
> --- a/source-builder/config/gdb-common-1.cfg
> +++ b/source-builder/config/gdb-common-1.cfg
> @@ -108,7 +108,7 @@
> %define gdb-host-libs -L '%{host_ldflags}'
> %endif
> %if %{gdb-python-config} != %{nil}
> - %define gdb-python-lib-filter awk 'BEGIN{FS=" "}/python/{for(i=1;i<NF;++i)if(match($i,".*python.*")) print "lib"substr($i,3)"*";}'
> + %define gdb-python-lib-filter awk 'BEGIN{FS=" "}/python/{for(i=1;i<NF;++i)if(match($i,".*lpython.*")) print "lib"substr($i,3)"*";}'
> %define gdb-python-config-libs %(%{gdb-python-config} --ldflags | %{gdb-python-lib-filter})
> %define gdb-python-lib-check %(%{_sbdir}/sb/rtems-build-dep -c %{__cc} %{gdb-host-libs} -l %{gdb-python-config-libs})
> %else
>
More information about the devel
mailing list