This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Replace some xmalloc-family functions with XNEW-family ones
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Wed, 26 Aug 2015 15:24:34 -0400
- Subject: Re: [PATCH] Replace some xmalloc-family functions with XNEW-family ones
- Authentication-results: sourceware.org; auth=none
- References: <1439848395-1869-1-git-send-email-simon dot marchi at ericsson dot com> <86614d3rsu dot fsf at gmail dot com> <55D4A144 dot 70802 at ericsson dot com>
On 15-08-19 11:31 AM, Simon Marchi wrote:
>> If arch-specific files are changes, we have several ways to make sure
>> changes don't break build at least,
>>
>> - Configure gdb with --enable-targets=all --enable-64-bit-bfd and
>> build, all *-tdep.c changes can be covered,
>> - Download some cross compile, such as arm/aarch64/mips gcc, and cross
>> compile native gdb for these archs, for example, configure gdb with
>> --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf CC=/foo/bar/arm-linux-gnueabihf-gcc
>> - Install mingw32 toolchain, and cross compile native gdb for win32.
>>
>> You can also apply for gcc compile farm account to build patched GDB
>> there. The complains of buildbot or people are the last guards, and we
>> should trigger as less complains as we can.
>
> I already build with --enable-targets=all.
>
> Is there a list of cross-compilers we can download to test building gdb
> with ? If you guys have links to already built cross-compilers to various
> architectures, I can create a wiki page for it. Otherwise, I'll try to
> build a few toolchains using crosstool-ng, it seems relatively easy.
I was able to test with just a few targets, those for which I was able to
build a toolchain with crosstool-ng (arm and mips). I did mingw32 as well.
I applied for an access to the gcc compile farm, but I'm still waiting.
I don't think I can do better at the moment. Is there still something
holding back the patch?