* [PATCH 3/3] [config/gdb] Add GDB_HAS_PYTHON
2014-08-15 22:21 [PATCH 0/3] Updates to config/gdb Bryan Hundven
@ 2014-08-15 22:21 ` Bryan Hundven
2014-08-15 22:21 ` [PATCH 1/3] [config/gdb] Add gdb 7.8 Bryan Hundven
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Bryan Hundven @ 2014-08-15 22:21 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc, Bryan Hundven
Add a Kconfig boolean to enable python, only if GDB_7_0_or_later.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
config/debug/gdb.in | 4 ++++
config/debug/gdb.in.cross | 1 +
2 files changed, 5 insertions(+)
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 26884ab..6f39196 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -176,6 +176,7 @@ config GDB_7_1_or_later
config GDB_7_0_or_later
bool
select GDB_HAS_PKGVERSION_BUGURL
+ select GDB_HAS_PYTHON
select GDB_INSTALL_GDBINIT
select GDB_6_8_or_later
@@ -185,6 +186,9 @@ config GDB_6_8_or_later
config GDB_HAS_PKGVERSION_BUGURL
bool
+config GDB_HAS_PYTHON
+ bool
+
config GDB_INSTALL_GDBINIT
bool
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
index 7e66ce5..549cba2 100644
--- a/config/debug/gdb.in.cross
+++ b/config/debug/gdb.in.cross
@@ -35,6 +35,7 @@ config GDB_CROSS_SIM
config GDB_CROSS_PYTHON
bool
prompt "Enable python scripting"
+ depends on GDB_HAS_PYTHON
depends on ! GDB_CROSS_STATIC
default y
help
--
2.1.0.rc1
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/3] [config/gdb] Update GDB version dependencies
2014-08-15 22:21 [PATCH 0/3] Updates to config/gdb Bryan Hundven
2014-08-15 22:21 ` [PATCH 3/3] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
2014-08-15 22:21 ` [PATCH 1/3] [config/gdb] Add gdb 7.8 Bryan Hundven
@ 2014-08-15 22:21 ` Bryan Hundven
2014-08-15 23:49 ` Bryan Hundven
2014-08-17 22:10 ` [PATCH v2 0/2] Updates to config/gdb Bryan Hundven
3 siblings, 1 reply; 9+ messages in thread
From: Bryan Hundven @ 2014-08-15 22:21 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc, Bryan Hundven
This change allows the gdb build scripts to use a generic:
GDB_X_Y_or_later
instead of parsing the GDB_VERSION string.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
config/debug/gdb.in | 61 +++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 47 insertions(+), 14 deletions(-)
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 3aaff8e..26884ab 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -36,71 +36,71 @@ choice
config GDB_V_7_8
bool
prompt "7.8"
- select GDB_7_2_or_later
+ select GDB_7_8_or_later
config GDB_V_7_7_1
bool
prompt "7.7.1"
- select GDB_7_2_or_later
+ select GDB_7_7_or_later
config GDB_V_7_7
bool
prompt "7.7"
- select GDB_7_2_or_later
+ select GDB_7_7_or_later
config GDB_V_7_6_1
bool
prompt "7.6.1"
- select GDB_7_2_or_later
+ select GDB_7_6_or_later
config GDB_V_linaro_7_6_2013_05
bool
prompt "linaro-7.6-2013.05"
depends on DEBUG_GDB_SHOW_LINARO
- select GDB_7_2_or_later
+ select GDB_7_6_or_later
config GDB_V_7_5_1
bool
prompt "7.5.1"
- select GDB_7_2_or_later
+ select GDB_7_5_or_later
config GDB_V_linaro_7_5_2012_12_1
bool
prompt "linaro-7.5-2012.12-1"
depends on DEBUG_GDB_SHOW_LINARO
- select GDB_7_2_or_later
+ select GDB_7_5_or_later
config GDB_V_linaro_7_4_2012_06
bool
prompt "linaro-7.4-2012.06"
depends on DEBUG_GDB_SHOW_LINARO
- select GDB_7_2_or_later
+ select GDB_7_4_or_later
config GDB_V_7_4_1
bool
prompt "7.4.1"
- select GDB_7_2_or_later
+ select GDB_7_4_or_later
config GDB_V_7_4
bool
prompt "7.4"
- select GDB_7_2_or_later
+ select GDB_7_4_or_later
config GDB_V_linaro_7_3_2011_12
bool
prompt "linaro-7.3-2011.12"
depends on DEBUG_GDB_SHOW_LINARO
- select GDB_7_2_or_later
+ select GDB_7_3_or_later
config GDB_V_7_3_1
bool
prompt "7.3.1"
- select GDB_7_2_or_later
+ select GDB_7_3_or_later
config GDB_V_7_3a
bool
prompt "7.3a"
- select GDB_7_2_or_later
+ select GDB_7_3_or_later
config GDB_V_linaro_7_2_2011_05_0
bool
@@ -116,7 +116,7 @@ config GDB_V_7_2a
config GDB_V_7_1a
bool
prompt "7.1a"
- select GDB_7_0_or_later
+ select GDB_7_1_or_later
config GDB_V_7_0_1a
bool
@@ -131,6 +131,7 @@ config GDB_V_7_0a
config GDB_V_6_8a
bool
prompt "6.8a"
+ select GDB_6_8_or_later
config GDB_CUSTOM
bool
@@ -140,14 +141,46 @@ config GDB_CUSTOM
endchoice
+config GDB_7_8_or_later
+ bool
+ select GDB_7_7_or_later
+
+config GDB_7_7_or_later
+ bool
+ select GDB_7_6_or_later
+
+config GDB_7_6_or_later
+ bool
+ select GDB_7_5_or_later
+
+config GDB_7_5_or_later
+ bool
+ select GDB_7_4_or_later
+
+config GDB_7_4_or_later
+ bool
+ select GDB_7_3_or_later
+
+config GDB_7_3_or_later
+ bool
+ select GDB_7_2_or_later
+
config GDB_7_2_or_later
bool
+ select GDB_7_1_or_later
+
+config GDB_7_1_or_later
+ bool
select GDB_7_0_or_later
config GDB_7_0_or_later
bool
select GDB_HAS_PKGVERSION_BUGURL
select GDB_INSTALL_GDBINIT
+ select GDB_6_8_or_later
+
+config GDB_6_8_or_later
+ bool
config GDB_HAS_PKGVERSION_BUGURL
bool
--
2.1.0.rc1
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 0/3] Updates to config/gdb
@ 2014-08-15 22:21 Bryan Hundven
2014-08-15 22:21 ` [PATCH 3/3] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Bryan Hundven @ 2014-08-15 22:21 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc
This patch series adds some updates to GDB including:
* Add GDB 7.8
* Update GDB version dependencies
* Add a GDB_HAS_PYTHON hidden Kconfig
config/debug/gdb.in | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++--------------
config/debug/gdb.in.cross | 1 +
2 files changed, 52 insertions(+), 14 deletions(-)
As usual, I'm always open to feedback, comments, and suggestions.
Cheers,
-Bryan
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/3] [config/gdb] Add gdb 7.8
2014-08-15 22:21 [PATCH 0/3] Updates to config/gdb Bryan Hundven
2014-08-15 22:21 ` [PATCH 3/3] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
@ 2014-08-15 22:21 ` Bryan Hundven
2014-08-15 22:21 ` [PATCH 2/3] [config/gdb] Update GDB version dependencies Bryan Hundven
2014-08-17 22:10 ` [PATCH v2 0/2] Updates to config/gdb Bryan Hundven
3 siblings, 0 replies; 9+ messages in thread
From: Bryan Hundven @ 2014-08-15 22:21 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc, Bryan Hundven
Add updated gdb 7.8 to the available versions of gdb.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
config/debug/gdb.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 35123a9..3aaff8e 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -33,6 +33,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config GDB_V_7_8
+ bool
+ prompt "7.8"
+ select GDB_7_2_or_later
+
config GDB_V_7_7_1
bool
prompt "7.7.1"
@@ -154,6 +159,7 @@ config GDB_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "7.8" if GDB_V_7_8
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
--
2.1.0.rc1
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/3] [config/gdb] Update GDB version dependencies
2014-08-15 22:21 ` [PATCH 2/3] [config/gdb] Update GDB version dependencies Bryan Hundven
@ 2014-08-15 23:49 ` Bryan Hundven
0 siblings, 0 replies; 9+ messages in thread
From: Bryan Hundven @ 2014-08-15 23:49 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc maillist, Bryan Hundven
Yann, List,
On Fri, Aug 15, 2014 at 3:21 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> This change allows the gdb build scripts to use a generic:
> GDB_X_Y_or_later
> instead of parsing the GDB_VERSION string.
This patch is optional.
I see potential uses for doing kconfig checks on certain versions
(or_later) in combination with certain targets being supported.
But, if I remember correctly, I think we spoke a while ago about
dropping the cross-gdb and gdbserver for the target build system to
make (buildroot, yocto, openembedded, ptxdist, etc...)
-Bryan
> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
> ---
> config/debug/gdb.in | 61 +++++++++++++++++++++++++++++++++++++++++------------
> 1 file changed, 47 insertions(+), 14 deletions(-)
>
> diff --git a/config/debug/gdb.in b/config/debug/gdb.in
> index 3aaff8e..26884ab 100644
> --- a/config/debug/gdb.in
> +++ b/config/debug/gdb.in
> @@ -36,71 +36,71 @@ choice
> config GDB_V_7_8
> bool
> prompt "7.8"
> - select GDB_7_2_or_later
> + select GDB_7_8_or_later
>
> config GDB_V_7_7_1
> bool
> prompt "7.7.1"
> - select GDB_7_2_or_later
> + select GDB_7_7_or_later
>
> config GDB_V_7_7
> bool
> prompt "7.7"
> - select GDB_7_2_or_later
> + select GDB_7_7_or_later
>
> config GDB_V_7_6_1
> bool
> prompt "7.6.1"
> - select GDB_7_2_or_later
> + select GDB_7_6_or_later
>
> config GDB_V_linaro_7_6_2013_05
> bool
> prompt "linaro-7.6-2013.05"
> depends on DEBUG_GDB_SHOW_LINARO
> - select GDB_7_2_or_later
> + select GDB_7_6_or_later
>
> config GDB_V_7_5_1
> bool
> prompt "7.5.1"
> - select GDB_7_2_or_later
> + select GDB_7_5_or_later
>
> config GDB_V_linaro_7_5_2012_12_1
> bool
> prompt "linaro-7.5-2012.12-1"
> depends on DEBUG_GDB_SHOW_LINARO
> - select GDB_7_2_or_later
> + select GDB_7_5_or_later
>
> config GDB_V_linaro_7_4_2012_06
> bool
> prompt "linaro-7.4-2012.06"
> depends on DEBUG_GDB_SHOW_LINARO
> - select GDB_7_2_or_later
> + select GDB_7_4_or_later
>
> config GDB_V_7_4_1
> bool
> prompt "7.4.1"
> - select GDB_7_2_or_later
> + select GDB_7_4_or_later
>
> config GDB_V_7_4
> bool
> prompt "7.4"
> - select GDB_7_2_or_later
> + select GDB_7_4_or_later
>
> config GDB_V_linaro_7_3_2011_12
> bool
> prompt "linaro-7.3-2011.12"
> depends on DEBUG_GDB_SHOW_LINARO
> - select GDB_7_2_or_later
> + select GDB_7_3_or_later
>
> config GDB_V_7_3_1
> bool
> prompt "7.3.1"
> - select GDB_7_2_or_later
> + select GDB_7_3_or_later
>
> config GDB_V_7_3a
> bool
> prompt "7.3a"
> - select GDB_7_2_or_later
> + select GDB_7_3_or_later
>
> config GDB_V_linaro_7_2_2011_05_0
> bool
> @@ -116,7 +116,7 @@ config GDB_V_7_2a
> config GDB_V_7_1a
> bool
> prompt "7.1a"
> - select GDB_7_0_or_later
> + select GDB_7_1_or_later
>
> config GDB_V_7_0_1a
> bool
> @@ -131,6 +131,7 @@ config GDB_V_7_0a
> config GDB_V_6_8a
> bool
> prompt "6.8a"
> + select GDB_6_8_or_later
>
> config GDB_CUSTOM
> bool
> @@ -140,14 +141,46 @@ config GDB_CUSTOM
>
> endchoice
>
> +config GDB_7_8_or_later
> + bool
> + select GDB_7_7_or_later
> +
> +config GDB_7_7_or_later
> + bool
> + select GDB_7_6_or_later
> +
> +config GDB_7_6_or_later
> + bool
> + select GDB_7_5_or_later
> +
> +config GDB_7_5_or_later
> + bool
> + select GDB_7_4_or_later
> +
> +config GDB_7_4_or_later
> + bool
> + select GDB_7_3_or_later
> +
> +config GDB_7_3_or_later
> + bool
> + select GDB_7_2_or_later
> +
> config GDB_7_2_or_later
> bool
> + select GDB_7_1_or_later
> +
> +config GDB_7_1_or_later
> + bool
> select GDB_7_0_or_later
>
> config GDB_7_0_or_later
> bool
> select GDB_HAS_PKGVERSION_BUGURL
> select GDB_INSTALL_GDBINIT
> + select GDB_6_8_or_later
> +
> +config GDB_6_8_or_later
> + bool
>
> config GDB_HAS_PKGVERSION_BUGURL
> bool
> --
> 2.1.0.rc1
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/2] [config/gdb] Add gdb 7.8
2014-08-17 22:10 ` [PATCH v2 0/2] Updates to config/gdb Bryan Hundven
2014-08-17 22:10 ` [PATCH 2/2] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
@ 2014-08-17 22:10 ` Bryan Hundven
2014-08-26 21:49 ` [PATCH v2 0/2] Updates to config/gdb Yann E. MORIN
2 siblings, 0 replies; 9+ messages in thread
From: Bryan Hundven @ 2014-08-17 22:10 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc, Bryan Hundven
Add updated gdb 7.8 to the available versions of gdb.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
config/debug/gdb.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 35123a9..3aaff8e 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -33,6 +33,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config GDB_V_7_8
+ bool
+ prompt "7.8"
+ select GDB_7_2_or_later
+
config GDB_V_7_7_1
bool
prompt "7.7.1"
@@ -154,6 +159,7 @@ config GDB_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "7.8" if GDB_V_7_8
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
--
2.1.0.rc1
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 0/2] Updates to config/gdb
2014-08-15 22:21 [PATCH 0/3] Updates to config/gdb Bryan Hundven
` (2 preceding siblings ...)
2014-08-15 22:21 ` [PATCH 2/3] [config/gdb] Update GDB version dependencies Bryan Hundven
@ 2014-08-17 22:10 ` Bryan Hundven
2014-08-17 22:10 ` [PATCH 2/2] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
` (2 more replies)
3 siblings, 3 replies; 9+ messages in thread
From: Bryan Hundven @ 2014-08-17 22:10 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc
I dropped:
* Update GDB version dependencies
from the v2 series. Not needed right now ;)
config/debug/gdb.in | 4 ++++
config/debug/gdb.in.cross | 1 +
2 files changed, 5 insertions(+)
As usual, I'm always open to feedback, comments, and suggestions.
Cheers,
-Bryan
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/2] [config/gdb] Add GDB_HAS_PYTHON
2014-08-17 22:10 ` [PATCH v2 0/2] Updates to config/gdb Bryan Hundven
@ 2014-08-17 22:10 ` Bryan Hundven
2014-08-17 22:10 ` [PATCH 1/2] [config/gdb] Add gdb 7.8 Bryan Hundven
2014-08-26 21:49 ` [PATCH v2 0/2] Updates to config/gdb Yann E. MORIN
2 siblings, 0 replies; 9+ messages in thread
From: Bryan Hundven @ 2014-08-17 22:10 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc, Bryan Hundven
Add a Kconfig boolean to enable python, only if GDB_7_0_or_later.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
config/debug/gdb.in | 4 ++++
config/debug/gdb.in.cross | 1 +
2 files changed, 5 insertions(+)
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 3aaff8e..a3f1930 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -147,11 +147,15 @@ config GDB_7_2_or_later
config GDB_7_0_or_later
bool
select GDB_HAS_PKGVERSION_BUGURL
+ select GDB_HAS_PYTHON
select GDB_INSTALL_GDBINIT
config GDB_HAS_PKGVERSION_BUGURL
bool
+config GDB_HAS_PYTHON
+ bool
+
config GDB_INSTALL_GDBINIT
bool
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
index 7e66ce5..549cba2 100644
--- a/config/debug/gdb.in.cross
+++ b/config/debug/gdb.in.cross
@@ -35,6 +35,7 @@ config GDB_CROSS_SIM
config GDB_CROSS_PYTHON
bool
prompt "Enable python scripting"
+ depends on GDB_HAS_PYTHON
depends on ! GDB_CROSS_STATIC
default y
help
--
2.1.0.rc1
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 0/2] Updates to config/gdb
2014-08-17 22:10 ` [PATCH v2 0/2] Updates to config/gdb Bryan Hundven
2014-08-17 22:10 ` [PATCH 2/2] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
2014-08-17 22:10 ` [PATCH 1/2] [config/gdb] Add gdb 7.8 Bryan Hundven
@ 2014-08-26 21:49 ` Yann E. MORIN
2 siblings, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2014-08-26 21:49 UTC (permalink / raw)
To: Bryan Hundven; +Cc: crossgcc
Bryan, All,
On 2014-08-17 15:09 -0700, Bryan Hundven spake thusly:
> I dropped:
> * Update GDB version dependencies
> from the v2 series. Not needed right now ;)
>
> config/debug/gdb.in | 4 ++++
> config/debug/gdb.in.cross | 1 +
> 2 files changed, 5 insertions(+)
>
> As usual, I'm always open to feedback, comments, and suggestions.
Series applied. Thanks! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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] 9+ messages in thread
end of thread, other threads:[~2014-08-26 21:49 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-15 22:21 [PATCH 0/3] Updates to config/gdb Bryan Hundven
2014-08-15 22:21 ` [PATCH 3/3] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
2014-08-15 22:21 ` [PATCH 1/3] [config/gdb] Add gdb 7.8 Bryan Hundven
2014-08-15 22:21 ` [PATCH 2/3] [config/gdb] Update GDB version dependencies Bryan Hundven
2014-08-15 23:49 ` Bryan Hundven
2014-08-17 22:10 ` [PATCH v2 0/2] Updates to config/gdb Bryan Hundven
2014-08-17 22:10 ` [PATCH 2/2] [config/gdb] Add GDB_HAS_PYTHON Bryan Hundven
2014-08-17 22:10 ` [PATCH 1/2] [config/gdb] Add gdb 7.8 Bryan Hundven
2014-08-26 21:49 ` [PATCH v2 0/2] Updates to config/gdb 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).