* [PATCH 1/3] config/debug/gdb: add 7.7.1
@ 2014-07-19 7:16 Cody P Schafer
2014-07-19 7:16 ` [PATCH 2/3] scripts/addToolVersion: fix for gdb versions >= 7.2 Cody P Schafer
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Cody P Schafer @ 2014-07-19 7:16 UTC (permalink / raw)
To: crossgcc; +Cc: Cody P Schafer
Also remove the unneeded select in 7.7
Signed-off-by: Cody P Schafer <dev@codyps.com>
---
config/debug/gdb.in | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 9c345b6..35123a9 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -33,10 +33,14 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config GDB_V_7_7_1
+ bool
+ prompt "7.7.1"
+ select GDB_7_2_or_later
+
config GDB_V_7_7
bool
prompt "7.7"
- select GDB_7_0_or_later
select GDB_7_2_or_later
config GDB_V_7_6_1
@@ -150,6 +154,7 @@ config GDB_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "7.7.1" if GDB_V_7_7_1
default "7.7" if GDB_V_7_7
default "7.6.1" if GDB_V_7_6_1
default "linaro-7.6-2013.05" if GDB_V_linaro_7_6_2013_05
--
2.0.2
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] scripts/addToolVersion: simpily gcc handling and fix for gcc-4.9.X (and later)
2014-07-19 7:16 [PATCH 1/3] config/debug/gdb: add 7.7.1 Cody P Schafer
2014-07-19 7:16 ` [PATCH 2/3] scripts/addToolVersion: fix for gdb versions >= 7.2 Cody P Schafer
@ 2014-07-19 7:16 ` Cody P Schafer
2014-07-19 10:24 ` [PATCH 1/3] config/debug/gdb: add 7.7.1 Yann E. MORIN
2 siblings, 0 replies; 4+ messages in thread
From: Cody P Schafer @ 2014-07-19 7:16 UTC (permalink / raw)
To: crossgcc; +Cc: Cody P Schafer
Signed-off-by: Cody P Schafer <dev@codyps.com>
---
scripts/addToolVersion.sh | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh
index fe67c2d..34f42eb 100755
--- a/scripts/addToolVersion.sh
+++ b/scripts/addToolVersion.sh
@@ -111,20 +111,8 @@ addToolVersion() {
# Extract 'M'ajor and 'm'inor from version string
ver_M=$(getVersionField "${version}" . 1)
ver_m=$(getVersionField "${version}" . 2)
- if [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 8 \) ]; then
- SedExpr1="${SedExpr1}\n select CC_GCC_4_8"
- elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 7 \) ]; then
- SedExpr1="${SedExpr1}\n select CC_GCC_4_7"
- elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 6 \) ]; then
- SedExpr1="${SedExpr1}\n select CC_GCC_4_6"
- elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 5 \) ]; then
- SedExpr1="${SedExpr1}\n select CC_GCC_4_5"
- elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 4 \) ]; then
- SedExpr1="${SedExpr1}\n select CC_GCC_4_4"
- elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 3 \) ]; then
- SedExpr1="${SedExpr1}\n select CC_GCC_4_3"
- elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 2 \) ]; then
- SedExpr1="${SedExpr1}\n select CC_GCC_4_2"
+ if [ ${ver_M} -ge 4 ] && [ ${ver_m} -ge 2 ]; then
+ SedExpr1="${SedExpr1}\n select CC_GCC_${ver_M}_${ver_m}"
fi
;;
binutils)
--
2.0.2
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/3] scripts/addToolVersion: fix for gdb versions >= 7.2
2014-07-19 7:16 [PATCH 1/3] config/debug/gdb: add 7.7.1 Cody P Schafer
@ 2014-07-19 7:16 ` Cody P Schafer
2014-07-19 7:16 ` [PATCH 3/3] scripts/addToolVersion: simpily gcc handling and fix for gcc-4.9.X (and later) Cody P Schafer
2014-07-19 10:24 ` [PATCH 1/3] config/debug/gdb: add 7.7.1 Yann E. MORIN
2 siblings, 0 replies; 4+ messages in thread
From: Cody P Schafer @ 2014-07-19 7:16 UTC (permalink / raw)
To: crossgcc; +Cc: Cody P Schafer
Signed-off-by: Cody P Schafer <dev@codyps.com>
---
scripts/addToolVersion.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh
index 5822a4b..fe67c2d 100755
--- a/scripts/addToolVersion.sh
+++ b/scripts/addToolVersion.sh
@@ -167,7 +167,11 @@ addToolVersion() {
# gdb-7.0 and above have special handling
ver_M=$(getVersionField "${version}" . 1)
if [ ${ver_M} -ge 7 ]; then
- SedExpr1="${SedExpr1}\n select GDB_7_0_or_later"
+ if [ ${ver_m} -ge 2 ]; then
+ SedExpr1="${SedExpr1}\n select GDB_7_2_or_later"
+ else
+ SedExpr1="${SedExpr1}\n select GDB_7_0_or_later"
+ fi
fi
;;
esac
--
2.0.2
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/3] config/debug/gdb: add 7.7.1
2014-07-19 7:16 [PATCH 1/3] config/debug/gdb: add 7.7.1 Cody P Schafer
2014-07-19 7:16 ` [PATCH 2/3] scripts/addToolVersion: fix for gdb versions >= 7.2 Cody P Schafer
2014-07-19 7:16 ` [PATCH 3/3] scripts/addToolVersion: simpily gcc handling and fix for gcc-4.9.X (and later) Cody P Schafer
@ 2014-07-19 10:24 ` Yann E. MORIN
2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2014-07-19 10:24 UTC (permalink / raw)
To: Cody P Schafer; +Cc: crossgcc
Cody, All,
On 2014-07-19 02:52 -0400, Cody P Schafer spake thusly:
> Also remove the unneeded select in 7.7
>
> Signed-off-by: Cody P Schafer <dev@codyps.com>
All three applied, thanks!
Regards,
Yann E. MORIN.
> ---
> config/debug/gdb.in | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/config/debug/gdb.in b/config/debug/gdb.in
> index 9c345b6..35123a9 100644
> --- a/config/debug/gdb.in
> +++ b/config/debug/gdb.in
> @@ -33,10 +33,14 @@ choice
> # Don't remove next line
> # CT_INSERT_VERSION_BELOW
>
> +config GDB_V_7_7_1
> + bool
> + prompt "7.7.1"
> + select GDB_7_2_or_later
> +
> config GDB_V_7_7
> bool
> prompt "7.7"
> - select GDB_7_0_or_later
> select GDB_7_2_or_later
>
> config GDB_V_7_6_1
> @@ -150,6 +154,7 @@ config GDB_VERSION
> string
> # Don't remove next line
> # CT_INSERT_VERSION_STRING_BELOW
> + default "7.7.1" if GDB_V_7_7_1
> default "7.7" if GDB_V_7_7
> default "7.6.1" if GDB_V_7_6_1
> default "linaro-7.6-2013.05" if GDB_V_linaro_7_6_2013_05
> --
> 2.0.2
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-19 10:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-19 7:16 [PATCH 1/3] config/debug/gdb: add 7.7.1 Cody P Schafer
2014-07-19 7:16 ` [PATCH 2/3] scripts/addToolVersion: fix for gdb versions >= 7.2 Cody P Schafer
2014-07-19 7:16 ` [PATCH 3/3] scripts/addToolVersion: simpily gcc handling and fix for gcc-4.9.X (and later) Cody P Schafer
2014-07-19 10:24 ` [PATCH 1/3] config/debug/gdb: add 7.7.1 Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).