config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Thu Jan 10 00:27:13 2013 +0100 (2013-01-10)
changeset 3159 fb71cad4b085
parent 3139 abd69b651323
child 3222 56db5f3f2c8c
permissions -rw-r--r--
arch/arm: OABI is no more, switch to only EABI

Well, leave the prompt as an OBSOLETE thing, scheduled to
be removed soon.

As an indication OABI lives its last days, gcc-4.8 will no
longer recognise non-EABI targets.

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