config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jul 22 09:32:27 2008 +0000 (2008-07-22)
changeset 709 8d945f24f7ae
parent 639 d03546ec1f57
child 821 4c073dd24c1d
permissions -rw-r--r--
MArk gdb-6.5 as being OBSOLETE.

/trunk/config/debug/gdb.in | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
     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
    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_NATIVE
    33     bool
    34     prompt "Native gdb"
    35     default n
    36     help
    37       Build and install a native gdb for the target, to run on the target.
    38 
    39 config GDB_NATIVE_STATIC
    40     bool
    41     prompt "Build a static native gdb"
    42     default n
    43     depends on GDB_NATIVE
    44     help
    45       In case you have trouble with dynamic loading of shared libraries,
    46       you will find that a static gdb comes in handy.
    47 
    48 config GDB_NATIVE_USE_GMP_MPFR
    49     bool
    50     prompt "Use GMP and MPFR (EXPERIMENTAL)"
    51     default n
    52     depends on EXPERIMENTAL
    53     depends on GDB_NATIVE
    54     select GMP_MPFR
    55     select GMP_MPFR_TARGET
    56     help
    57       gdb can make use of the GMP and MPFR libraries.
    58 
    59       While the cross-gdb (above) can use the libraries compiled for the
    60       host, the native gdb needs the libraries for the target (where it will
    61       eventually run).
    62 
    63       Setting this option will force building the GMP and MPFR libraries for
    64       the target, and configure the native gdb to use them.
    65 
    66 config GDB_GDBSERVER
    67     bool
    68     prompt "gdbserver"
    69     default n
    70     help
    71       Build and install a gdbserver for the target, to run on the target.
    72 
    73 config GDB_GDBSERVER_STATIC
    74     bool
    75     prompt "Build a static gdbserver"
    76     default y
    77     depends on GDB_GDBSERVER
    78     help
    79       In case you have trouble with dynamic loading of shared libraries,
    80       you will find that a static gdbserver comes in handy.
    81 
    82 choice
    83     bool
    84     prompt "gdb version"
    85     depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
    86 
    87 config GDB_V_snapshot
    88     bool
    89     prompt "snapshot (EXPERIMENTAL)"
    90     depends on EXPERIMENTAL
    91 
    92 config GDB_V_6_4
    93     bool
    94     prompt "6.4 (OBSOLETE)"
    95     depends on OBSOLETE
    96 
    97 config GDB_V_6_5
    98     bool
    99     prompt "6.5 (OBSOLETE)"
   100     depends on OBSOLETE
   101 
   102 config GDB_V_6_6
   103     bool
   104     prompt "6.6"
   105 
   106 config GDB_V_6_7
   107     bool
   108     prompt "6.7 (EXPERIMENTAL)"
   109     depends on EXPERIMENTAL
   110 
   111 config GDB_V_6_7_1
   112     bool
   113     prompt "6.7.1 (EXPERIMENTAL)"
   114     depends on EXPERIMENTAL
   115 
   116 config GDB_V_6_8
   117     bool
   118     prompt "6.8"
   119 
   120 # CT_INSERT_VERSION_ABOVE
   121 # Don't remove above line!
   122 endchoice
   123 
   124 config GDB_VERSION
   125     string
   126     default "snapshot" if GDB_V_snapshot
   127     default "6.4" if GDB_V_6_4
   128     default "6.5" if GDB_V_6_5
   129     default "6.6" if GDB_V_6_6
   130     default "6.7" if GDB_V_6_7
   131     default "6.7.1" if GDB_V_6_7_1
   132     default "6.8" if GDB_V_6_8
   133 # CT_INSERT_VERSION_STRING_ABOVE
   134 # Don't remove above line!
   135 
   136 if GDB_NATIVE
   137 
   138 comment "Native gdb needs the ncurses library on the target"
   139 
   140 choice
   141     bool
   142     prompt "ncurses version"
   143 
   144 config NCURSES_V_5_6
   145     bool
   146     prompt "5.6"
   147 
   148 endchoice
   149 
   150 config NCURSES_VERSION
   151     string
   152     default "5.6" if NCURSES_V_5_6
   153 
   154 endif # GDB_NATIVE --> ncurses
   155 
   156 endif