config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
parent 2490 cce067f0448e
child 2612 a52574521bea
child 2656 9bc6d5555cac
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@96
     1
# GDB menu
yann@96
     2
yann@2444
     3
## help gdb is the GNU debugger
yann@96
     4
yann@1849
     5
source "config/debug/gdb.in.cross"
yann@1849
     6
source "config/debug/gdb.in.native"
yann@1849
     7
source "config/debug/gdb.in.gdbserver"
yann@1269
     8
yann@2417
     9
if GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
yann@2417
    10
yann@2417
    11
comment "gdb version"
yann@2417
    12
yann@2417
    13
config DEBUG_GDB_SHOW_LINARO
yann@2417
    14
    bool
yann@2417
    15
    prompt "Show Linaro versions (EXPERIMENTAL)"
yann@2417
    16
    depends on EXPERIMENTAL
yann@2417
    17
    help
yann@2417
    18
      Linaro is maintaining some advanced/more stable/experimental versions
yann@2417
    19
      of gdb, especially for the ARM architecture.
yann@2417
    20
yann@2417
    21
      Those versions have not been blessed by the gdb community (nor have they
yann@2417
    22
      been cursed either!), but they look to be pretty much stable, and even
yann@2417
    23
      more stable than the upstream versions. YMMV...
yann@2417
    24
yann@2417
    25
      If you do not know what this Linaro stuff is, then simply say 'n' here,
yann@2417
    26
      and rest in peace. OTOH, if you know what you are doing, you will be
yann@2417
    27
      able to use and enjoy :-) the Linaro versions by saying 'y' here.
yann@2417
    28
yann@2417
    29
      Linaro: http://www.linaro.org/
yann@2417
    30
yann@96
    31
choice
yann@96
    32
    bool
yann@96
    33
    prompt "gdb version"
yann@1535
    34
# Don't remove next line
yann@1535
    35
# CT_INSERT_VERSION_BELOW
yann@1534
    36
benoit@2478
    37
config GDB_V_linaro_7_2_2011_05_0
yann@2303
    38
    bool
benoit@2478
    39
    prompt "linaro-7.2-2011.05-0 (EXPERIMENTAL)"
yann@2417
    40
    depends on DEBUG_GDB_SHOW_LINARO
yann@2303
    41
    select GDB_7_0_or_later
yann@2303
    42
jon@2168
    43
config GDB_V_7_2
jon@2168
    44
    bool
jon@2168
    45
    prompt "7.2 (EXPERIMENTAL)"
jon@2168
    46
    depends on EXPERIMENTAL
jon@2168
    47
    select GDB_7_0_or_later
jon@2168
    48
yann@1874
    49
config GDB_V_7_1
yann@1874
    50
    bool
yann@1874
    51
    prompt "7.1 (EXPERIMENTAL)"
yann@1874
    52
    depends on EXPERIMENTAL
yann@1874
    53
    select GDB_7_0_or_later
yann@1874
    54
jocke@1705
    55
config GDB_V_7_0_1
jocke@1705
    56
    bool
jocke@1705
    57
    prompt "7.0.1 (EXPERIMENTAL)"
jocke@1705
    58
    depends on EXPERIMENTAL
yann@1852
    59
    select GDB_7_0_or_later
jocke@1705
    60
yann@1612
    61
config GDB_V_7_0
yann@1612
    62
    bool
yann@1612
    63
    prompt "7.0 (EXPERIMENTAL)"
yann@1612
    64
    depends on EXPERIMENTAL
yann@1852
    65
    select GDB_7_0_or_later
yann@1612
    66
yann@1534
    67
config GDB_V_6_8
yann@1534
    68
    bool
yann@1534
    69
    prompt "6.8"
yann@1534
    70
yann@96
    71
endchoice
yann@96
    72
yann@1852
    73
config GDB_7_0_or_later
yann@1852
    74
    bool
benoit@2490
    75
    select GDB_HAS_PKGVERSION_BUGURL
yann@2575
    76
    select GDB_INSTALL_GDBINIT
benoit@2490
    77
benoit@2490
    78
config GDB_HAS_PKGVERSION_BUGURL
benoit@2490
    79
    bool
yann@1852
    80
yann@2575
    81
config GDB_INSTALL_GDBINIT
yann@2575
    82
    bool
yann@2575
    83
yann@96
    84
config GDB_VERSION
yann@96
    85
    string
yann@1535
    86
# Don't remove next line
yann@1535
    87
# CT_INSERT_VERSION_STRING_BELOW
benoit@2478
    88
    default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
jon@2168
    89
    default "7.2" if GDB_V_7_2
yann@1874
    90
    default "7.1" if GDB_V_7_1
jocke@1705
    91
    default "7.0.1" if GDB_V_7_0_1
yann@1612
    92
    default "7.0" if GDB_V_7_0
yann@1534
    93
    default "6.8" if GDB_V_6_8
yann@2417
    94
yann@2417
    95
endif