This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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] debug/gdb: add extra config for gdb cross


On Thu, Nov 24, 2011 at 12:40 AM, Zhenqiang Chen
<zhenqiang.chen@linaro.org> wrote:
> # HG changeset patch
> # User Zhenqiang Chen <zhenqiang.chen@linaro.org>
> # Date 1322025327 -28800
> # Node ID e3a6a636cfa9013ddd0855ca9eb8d3a35dad3249
> # Parent ?2f4e3c312b659422e4a9950f13a0fc507b97c1fd
> debug/gdb: add extra config for gdb cross.
>
> Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
>
> diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
> --- a/config/debug/gdb.in.cross
> +++ b/config/debug/gdb.in.cross
> @@ -39,4 +39,11 @@
> ? ? ? have been reports of problems when linking gdb to the static
> ? ? ? libpython.a. This should be fixed in gdb >=7.3. YMMV.
>
> +config GDB_CROSS_EXTRA_CONFIG_ARRAY
> + ? ?string
> + ? ?prompt "Extra config for gdb cross"

Should this be "Cross-gdb extra config" to be consistent with the
other arrays in binutils, glibc, and gcc?

> + ? ?default ""
> + ? ?help
> + ? ? ?Extra flags to pass onto ./configure when configuring the gdb cross.
> +
> ?endif # GDB_CROSS
> diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
> --- a/scripts/build/debug/300-gdb.sh
> +++ b/scripts/build/debug/300-gdb.sh
> @@ -147,7 +147,8 @@
> ? ? ? ? ? ? --with-sysroot="${CT_SYSROOT_DIR}" ? ? ? ? ?\
> ? ? ? ? ? ? --with-expat=yes ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> ? ? ? ? ? ? --disable-werror ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> - ? ? ? ? ? ?"${cross_extra_config[@]}"
> + ? ? ? ? ? ?"${cross_extra_config[@]}" ? ? ? ? ? ? ? ? ?\

Huh.  The trailing \ looks fine in Thunderbird but is one character
short in gmail's view original.

-- Michael

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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