config/debug/gdb.in
author "Michael Hope <michaelh@juju.net.nz>"
Fri Jun 28 22:35:06 2013 +0200 (2013-06-28)
changeset 3222 56db5f3f2c8c
parent 3149 e1611da4bb05
child 3250 48f5cb844d26
permissions -rw-r--r--
debug/gdb: update Linaro GDB revision for 2013.05

Update Linaro GDB with the latest available revision.

Signed-off-by: "Michael Hope" <michaelh@juju.net.nz>
Message-Id: <bea34f42853a9d87a628.1372452016@localhost>
Patchwork-Id: 255667
     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 config GDB_V_linaro_7_6_2013_05
    37     bool
    38     prompt "linaro-7.6-2013.05"
    39     depends on DEBUG_GDB_SHOW_LINARO
    40     select GDB_7_0_or_later
    41     select GDB_7_2_or_later
    42 
    43 config GDB_V_linaro_7_5_2012_12_1
    44     bool
    45     prompt "linaro-7.5-2012.12-1"
    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_linaro_7_4_2012_06
    51     bool
    52     prompt "linaro-7.4-2012.06"
    53     depends on DEBUG_GDB_SHOW_LINARO
    54     select GDB_7_0_or_later
    55     select GDB_7_2_or_later
    56 
    57 config GDB_V_7_4_1
    58     bool
    59     prompt "7.4.1"
    60     select GDB_7_0_or_later
    61     select GDB_7_2_or_later
    62 
    63 config GDB_V_7_4
    64     bool
    65     prompt "7.4"
    66     select GDB_7_0_or_later
    67     select GDB_7_2_or_later
    68 
    69 config GDB_V_linaro_7_3_2011_12
    70     bool
    71     prompt "linaro-7.3-2011.12"
    72     depends on DEBUG_GDB_SHOW_LINARO
    73     select GDB_7_0_or_later
    74     select GDB_7_2_or_later
    75 
    76 config GDB_V_7_3_1
    77     bool
    78     prompt "7.3.1"
    79     select GDB_7_0_or_later
    80     select GDB_7_2_or_later
    81 
    82 config GDB_V_7_3a
    83     bool
    84     prompt "7.3a"
    85     select GDB_7_0_or_later
    86     select GDB_7_2_or_later
    87 
    88 config GDB_V_linaro_7_2_2011_05_0
    89     bool
    90     prompt "linaro-7.2-2011.05-0"
    91     depends on DEBUG_GDB_SHOW_LINARO
    92     select GDB_7_0_or_later
    93     select GDB_7_2_or_later
    94 
    95 config GDB_V_7_2a
    96     bool
    97     prompt "7.2a"
    98     select GDB_7_0_or_later
    99     select GDB_7_2_or_later
   100 
   101 config GDB_V_7_1a
   102     bool
   103     prompt "7.1a"
   104     select GDB_7_0_or_later
   105 
   106 config GDB_V_7_0_1a
   107     bool
   108     prompt "7.0.1a"
   109     select GDB_7_0_or_later
   110 
   111 config GDB_V_7_0a
   112     bool
   113     prompt "7.0a"
   114     select GDB_7_0_or_later
   115 
   116 config GDB_V_6_8a
   117     bool
   118     prompt "6.8a"
   119 
   120 config GDB_CUSTOM
   121     bool
   122     prompt "Custom gdb"
   123     depends on EXPERIMENTAL
   124     select GDB_7_0_or_later
   125     select GDB_7_2_or_later
   126 
   127 endchoice
   128 
   129 config GDB_7_2_or_later
   130     bool
   131 
   132 config GDB_7_0_or_later
   133     bool
   134     select GDB_HAS_PKGVERSION_BUGURL
   135     select GDB_INSTALL_GDBINIT
   136 
   137 config GDB_HAS_PKGVERSION_BUGURL
   138     bool
   139 
   140 config GDB_INSTALL_GDBINIT
   141     bool
   142 
   143 config GDB_VERSION
   144     string
   145 # Don't remove next line
   146 # CT_INSERT_VERSION_STRING_BELOW
   147     default "linaro-7.6-2013.05" if GDB_V_linaro_7_6_2013_05
   148     default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5_2012_12_1
   149     default "linaro-7.4-2012.06" if GDB_V_linaro_7_4_2012_06
   150     default "7.4.1" if GDB_V_7_4_1
   151     default "7.4" if GDB_V_7_4
   152     default "linaro-7.3-2011.12" if GDB_V_linaro_7_3_2011_12
   153     default "7.3.1" if GDB_V_7_3_1
   154     default "7.3a" if GDB_V_7_3a
   155     default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
   156     default "7.2a" if GDB_V_7_2a
   157     default "7.1a" if GDB_V_7_1a
   158     default "7.0.1a" if GDB_V_7_0_1a
   159     default "7.0a" if GDB_V_7_0a
   160     default "6.8a" if GDB_V_6_8a
   161     default "custom" if GDB_CUSTOM
   162 
   163 if GDB_CUSTOM
   164 
   165 config GDB_CUSTOM_LOCATION
   166     string
   167     prompt "Full path to custom gdb source"
   168     default ""
   169     help
   170       Enter the path to the directory (or tarball) of your source for gdb,
   171       or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/gdb
   172 
   173 endif # GDB_CUSTOM
   174 
   175 endif
   176