config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Jan 05 19:44:45 2014 +0100 (2014-01-05)
changeset 3277 ead33a889ef9
parent 3222 56db5f3f2c8c
child 3286 daf6ef6eef4d
permissions -rw-r--r--
cc/gcc: bump Linaro versions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # GDB menu
     2 
     3 ## help gdb is the GNU debugger
     4 
     5 source "config/debug/gdb.in.cross"
     6 source "config/debug/gdb.in.native"
     7 source "config/debug/gdb.in.gdbserver"
     8 
     9 if GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
    10 
    11 comment "gdb version"
    12 
    13 config DEBUG_GDB_SHOW_LINARO
    14     bool
    15     prompt "Show Linaro versions"
    16     help
    17       Linaro is maintaining some advanced/more stable/experimental versions
    18       of gdb, especially for the ARM architecture.
    19 
    20       Those versions have not been blessed by the gdb community (nor have they
    21       been cursed either!), but they look to be pretty much stable, and even
    22       more stable than the upstream versions. YMMV...
    23 
    24       If you do not know what this Linaro stuff is, then simply say 'n' here,
    25       and rest in peace. OTOH, if you know what you are doing, you will be
    26       able to use and enjoy :-) the Linaro versions by saying 'y' here.
    27 
    28       Linaro: http://www.linaro.org/
    29 
    30 choice
    31     bool
    32     prompt "gdb version"
    33 # Don't remove next line
    34 # CT_INSERT_VERSION_BELOW
    35 
    36 
    37 config GDB_V_7_6_1
    38     bool
    39     prompt "7.6.1"
    40     select GDB_7_0_or_later
    41     select GDB_7_2_or_later
    42 
    43 config GDB_V_linaro_7_6_2013_05
    44     bool
    45     prompt "linaro-7.6-2013.05"
    46     depends on DEBUG_GDB_SHOW_LINARO
    47     select GDB_7_0_or_later
    48     select GDB_7_2_or_later
    49 
    50 config GDB_V_7_5_1
    51     bool
    52     prompt "7.5.1"
    53     select GDB_7_0_or_later
    54     select GDB_7_2_or_later
    55 
    56 config GDB_V_linaro_7_5_2012_12_1
    57     bool
    58     prompt "linaro-7.5-2012.12-1"
    59     depends on DEBUG_GDB_SHOW_LINARO
    60     select GDB_7_0_or_later
    61     select GDB_7_2_or_later
    62 
    63 config GDB_V_linaro_7_4_2012_06
    64     bool
    65     prompt "linaro-7.4-2012.06"
    66     depends on DEBUG_GDB_SHOW_LINARO
    67     select GDB_7_0_or_later
    68     select GDB_7_2_or_later
    69 
    70 config GDB_V_7_4_1
    71     bool
    72     prompt "7.4.1"
    73     select GDB_7_0_or_later
    74     select GDB_7_2_or_later
    75 
    76 config GDB_V_7_4
    77     bool
    78     prompt "7.4"
    79     select GDB_7_0_or_later
    80     select GDB_7_2_or_later
    81 
    82 config GDB_V_linaro_7_3_2011_12
    83     bool
    84     prompt "linaro-7.3-2011.12"
    85     depends on DEBUG_GDB_SHOW_LINARO
    86     select GDB_7_0_or_later
    87     select GDB_7_2_or_later
    88 
    89 config GDB_V_7_3_1
    90     bool
    91     prompt "7.3.1"
    92     select GDB_7_0_or_later
    93     select GDB_7_2_or_later
    94 
    95 config GDB_V_7_3a
    96     bool
    97     prompt "7.3a"
    98     select GDB_7_0_or_later
    99     select GDB_7_2_or_later
   100 
   101 config GDB_V_linaro_7_2_2011_05_0
   102     bool
   103     prompt "linaro-7.2-2011.05-0"
   104     depends on DEBUG_GDB_SHOW_LINARO
   105     select GDB_7_0_or_later
   106     select GDB_7_2_or_later
   107 
   108 config GDB_V_7_2a
   109     bool
   110     prompt "7.2a"
   111     select GDB_7_0_or_later
   112     select GDB_7_2_or_later
   113 
   114 config GDB_V_7_1a
   115     bool
   116     prompt "7.1a"
   117     select GDB_7_0_or_later
   118 
   119 config GDB_V_7_0_1a
   120     bool
   121     prompt "7.0.1a"
   122     select GDB_7_0_or_later
   123 
   124 config GDB_V_7_0a
   125     bool
   126     prompt "7.0a"
   127     select GDB_7_0_or_later
   128 
   129 config GDB_V_6_8a
   130     bool
   131     prompt "6.8a"
   132 
   133 config GDB_CUSTOM
   134     bool
   135     prompt "Custom gdb"
   136     depends on EXPERIMENTAL
   137     select GDB_7_0_or_later
   138     select GDB_7_2_or_later
   139 
   140 endchoice
   141 
   142 config GDB_7_2_or_later
   143     bool
   144 
   145 config GDB_7_0_or_later
   146     bool
   147     select GDB_HAS_PKGVERSION_BUGURL
   148     select GDB_INSTALL_GDBINIT
   149 
   150 config GDB_HAS_PKGVERSION_BUGURL
   151     bool
   152 
   153 config GDB_INSTALL_GDBINIT
   154     bool
   155 
   156 config GDB_VERSION
   157     string
   158 # Don't remove next line
   159 # CT_INSERT_VERSION_STRING_BELOW
   160     default "7.6.1" if GDB_V_7_6_1
   161     default "linaro-7.6-2013.05" if GDB_V_linaro_7_6_2013_05
   162     default "7.5.1" if GDB_V_7_5_1
   163     default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5_2012_12_1
   164     default "linaro-7.4-2012.06" if GDB_V_linaro_7_4_2012_06
   165     default "7.4.1" if GDB_V_7_4_1
   166     default "7.4" if GDB_V_7_4
   167     default "linaro-7.3-2011.12" if GDB_V_linaro_7_3_2011_12
   168     default "7.3.1" if GDB_V_7_3_1
   169     default "7.3a" if GDB_V_7_3a
   170     default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
   171     default "7.2a" if GDB_V_7_2a
   172     default "7.1a" if GDB_V_7_1a
   173     default "7.0.1a" if GDB_V_7_0_1a
   174     default "7.0a" if GDB_V_7_0a
   175     default "6.8a" if GDB_V_6_8a
   176     default "custom" if GDB_CUSTOM
   177 
   178 if GDB_CUSTOM
   179 
   180 config GDB_CUSTOM_LOCATION
   181     string
   182     prompt "Full path to custom gdb source"
   183     default ""
   184     help
   185       Enter the path to the directory (or tarball) of your source for gdb,
   186       or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/gdb
   187 
   188 endif # GDB_CUSTOM
   189 
   190 endif
   191