config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 02 19:50:45 2008 +0000 (2008-09-02)
changeset 824 cc4590c03dd1
parent 821 4c073dd24c1d
child 850 ef8549b58b6f
permissions -rw-r--r--
Mark some features as no longer being EXPERIMENTAL.

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