config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Sep 18 09:22:25 2008 +0000 (2008-09-18)
changeset 865 04cf91f13430
parent 850 ef8549b58b6f
child 916 68af6b83ff7e
permissions -rw-r--r--
Move snapshots version after numbered versions (aka releases).

/trunk/config/debug/gdb.in | 13 7 6 0 +++++++------
/trunk/config/libc/glibc.in | 21 11 10 0 +++++++++++----------
/trunk/config/libc/uClibc.in | 21 11 10 0 +++++++++++----------
/trunk/config/libc/eglibc.in | 13 7 6 0 +++++++------
4 files changed, 36 insertions(+), 32 deletions(-)
     1 # GDB menu
     2 
     3 menuconfig GDB
     4     bool
     5     prompt "gdb"
     6     default n
     7     help
     8       Enable gdb for the target
     9 
    10 if GDB
    11 
    12 config GDB_CROSS
    13     bool
    14     prompt "Cross-gdb"
    15     default y
    16     select GDB_GDBSERVER if ! BARE_METAL
    17     help
    18       Build and install a cross-gdb for the target, to run on host.
    19 
    20 config GDB_CROSS_STATIC
    21     bool
    22     prompt "Build a static cross gdb"
    23     default n
    24     depends on GDB_CROSS
    25     help
    26       A static cross gdb can be usefull if you debug on a machine that is
    27       not the one that is used to compile the toolchain.
    28 
    29       That way, you can share the cross-gdb without installing a toolchain
    30       on every machine that will be used to debug target programs.
    31 
    32 config GDB_CROSS_INSIGHT
    33     bool
    34     prompt "Use Insight instead (EXPERIMENTAL)"
    35     default n
    36     depends on GDB_CROSS
    37     depends on EXPERIMENTAL
    38     help
    39       If you say 'Y' here, then Insight will be used to build the cross
    40       debugger, instead of the plain gdb.
    41       
    42       Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
    43 
    44 config GDB_NATIVE
    45     bool
    46     prompt "Native gdb"
    47     default n
    48     depends on ! BARE_METAL
    49     help
    50       Build and install a native gdb for the target, to run on the target.
    51 
    52 config GDB_NATIVE_STATIC
    53     bool
    54     prompt "Build a static native gdb"
    55     default n
    56     depends on GDB_NATIVE
    57     help
    58       In case you have trouble with dynamic loading of shared libraries,
    59       you will find that a static gdb comes in handy.
    60 
    61 config GDB_NATIVE_USE_GMP_MPFR
    62     bool
    63     prompt "Use GMP and MPFR"
    64     default n
    65     depends on GDB_NATIVE
    66     select GMP_MPFR
    67     select GMP_MPFR_TARGET
    68     help
    69       gdb can make use of the GMP and MPFR libraries.
    70 
    71       While the cross-gdb (above) can use the libraries compiled for the
    72       host, the native gdb needs the libraries for the target (where it will
    73       eventually run).
    74 
    75       Setting this option will force building the GMP and MPFR libraries for
    76       the target, and configure the native gdb to use them.
    77 
    78 config GDB_GDBSERVER
    79     bool
    80     prompt "gdbserver"
    81     default n
    82     depends on ! BARE_METAL
    83     help
    84       Build and install a gdbserver for the target, to run on the target.
    85 
    86 config GDB_GDBSERVER_STATIC
    87     bool
    88     prompt "Build a static gdbserver"
    89     default y
    90     depends on GDB_GDBSERVER
    91     help
    92       In case you have trouble with dynamic loading of shared libraries,
    93       you will find that a static gdbserver comes in handy.
    94 
    95 choice
    96     bool
    97     prompt "gdb version"
    98     depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
    99 
   100 config GDB_V_6_4
   101     bool
   102     prompt "6.4 (OBSOLETE)"
   103     depends on OBSOLETE
   104 
   105 config GDB_V_6_5
   106     bool
   107     prompt "6.5 (OBSOLETE)"
   108     depends on OBSOLETE
   109 
   110 config GDB_V_6_6
   111     bool
   112     prompt "6.6"
   113 
   114 config GDB_V_6_7
   115     bool
   116     prompt "6.7 (EXPERIMENTAL)"
   117     depends on EXPERIMENTAL
   118 
   119 config GDB_V_6_7_1
   120     bool
   121     prompt "6.7.1 (EXPERIMENTAL)"
   122     depends on EXPERIMENTAL
   123 
   124 config GDB_V_6_8
   125     bool
   126     prompt "6.8"
   127 
   128 # CT_INSERT_VERSION_ABOVE
   129 # Don't remove above line!
   130 
   131 config GDB_V_snapshot
   132     bool
   133     prompt "snapshot (EXPERIMENTAL)"
   134     depends on EXPERIMENTAL
   135     depends on ! GDB_CROSS_INSIGHT
   136 
   137 endchoice
   138 
   139 config GDB_VERSION
   140     string
   141     default "snapshot" if GDB_V_snapshot
   142     default "6.4" if GDB_V_6_4
   143     default "6.5" if GDB_V_6_5
   144     default "6.6" if GDB_V_6_6
   145     default "6.7" if GDB_V_6_7
   146     default "6.7.1" if GDB_V_6_7_1
   147     default "6.8" if GDB_V_6_8
   148 # CT_INSERT_VERSION_STRING_ABOVE
   149 # Don't remove above line!
   150 
   151 if GDB_NATIVE
   152 
   153 comment "Native gdb needs the ncurses library on the target"
   154 
   155 choice
   156     bool
   157     prompt "ncurses version"
   158 
   159 config NCURSES_V_5_6
   160     bool
   161     prompt "5.6"
   162 
   163 endchoice
   164 
   165 config NCURSES_VERSION
   166     string
   167     default "5.6" if NCURSES_V_5_6
   168 
   169 endif # GDB_NATIVE --> ncurses
   170 
   171 endif