config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jul 25 14:08:03 2008 +0000 (2008-07-25)
changeset 722 37968404e9b9
parent 639 d03546ec1f57
child 821 4c073dd24c1d
permissions -rw-r--r--
When dumping the DokuWiki table of samples, don't leave the kernel headers version empty if using a custom headers set., and say so.

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