From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 1/8] package/gdb: add gdb 7.7.x (7.7.1) and 7.6.x (7.6.2)
Date: Tue, 13 May 2014 06:50:45 +0300 [thread overview]
Message-ID: <20140513035044.GU4096@tarshish> (raw)
In-Reply-To: <1399941203-8282-2-git-send-email-cody@linux.vnet.ibm.com>
Hi Cody,
On Mon, May 12, 2014 at 05:33:16PM -0700, Cody P Schafer wrote:
> To prep for powerpc64le, we also disable gdb prior to 7.7.1 on
> powerpc64le.
>
> The default gdb on powerpc64le is set to 7.7.
> The default gdb on anything not special cased is adjusted from 7.5 to
> 7.6.
This patch should be split into two IMO. One patch adding gdb 7.6 and making
it default, and the other adding 7.7 for powerpc64le. This would ease somewhat
the pain of reverting the 7.6 bump in case it turns out to be not a good idea.
Thanks,
baruch
> Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
> ---
> package/gdb/Config.in.host | 17 ++++++++++++++---
> 1 file changed, 14 insertions(+), 3 deletions(-)
>
> diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
> index e853469..16a7291 100644
> --- a/package/gdb/Config.in.host
> +++ b/package/gdb/Config.in.host
> @@ -19,7 +19,8 @@ choice
> depends on !BR2_microblaze
> default BR2_GDB_VERSION_6_6 if BR2_bfin
> default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
> - default BR2_GDB_VERSION_7_5
> + default BR2_GDB_VERSION_7_7 if BR2_powerpc64le
> + default BR2_GDB_VERSION_7_6
> help
> Select the version of gdb you wish to use.
>
> @@ -33,10 +34,18 @@ choice
>
> config BR2_GDB_VERSION_7_4
> bool "gdb 7.4.x"
> - depends on !BR2_bfin
> + depends on !BR2_bfin && !BR2_powerpc64le
>
> config BR2_GDB_VERSION_7_5
> bool "gdb 7.5.x"
> + depends on !BR2_bfin && !BR2_powerpc64le
> +
> + config BR2_GDB_VERSION_7_6
> + bool "gdb 7.6.x"
> + depends on !BR2_bfin && !BR2_powerpc64le
> +
> + config BR2_GDB_VERSION_7_7
> + bool "gdb 7.7.x"
> depends on !BR2_bfin
>
> endchoice
> @@ -54,4 +63,6 @@ config BR2_GDB_VERSION
> default "arc-4.8-R3" if BR2_arc
> default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
> default "7.4.1" if BR2_GDB_VERSION_7_4
> - default "7.5.1" if BR2_GDB_VERSION_7_5 || !BR2_PACKAGE_HOST_GDB
> + default "7.5.1" if BR2_GDB_VERSION_7_5
> + default "7.6.2" if BR2_GDB_VERSION_7_6 || !BR2_PACKAGE_HOST_GDB
> + default "7.7.1" if BR2_GDB_VERSION_7_7 || BR2_powerpc64le
> --
> 1.9.3
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2014-05-13 3:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 0:33 [Buildroot] [PATCH v3 0/8] powerpc: powerpc64 and powerpc64le support Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 1/8] package/gdb: add gdb 7.7.x (7.7.1) and 7.6.x (7.6.2) Cody P Schafer
2014-05-13 3:50 ` Baruch Siach [this message]
2014-05-13 4:03 ` Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 2/8] package/binutils: add depends for powerpc64le (only 2.24 works) Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 3/8] powerpc: add BR2_POWERPC_CPU_HAS_SPE to replace adhoc deps/checks Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 4/8] powerpc: add BR2_POWERPC_CPU_HAS_ALTIVEC " Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 5/8] powerpc: mark 32-bit only powerpc cpus to prep for adding powerpc64 support Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 6/8] powerpc: add power{4,5,6,7,8} cpus Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 7/8] powerpc: remove unneeded dependencies Cody P Schafer
2014-05-13 0:33 ` [Buildroot] [PATCH v3 8/8] powerpc: add powerpc64 and powerpc64le support Cody P Schafer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140513035044.GU4096@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox