config/debug/gdb.in
author Martin Lund <mgl@doredevelopment.dk>
Wed May 19 17:53:04 2010 +0200 (2010-05-19)
changeset 1965 e3d532dd8b5d
parent 1874 712cdb6504aa
child 2168 974179cae714
permissions -rw-r--r--
test-suite: Added new test suite feature (experimental)

This patch adds support for installing the gcc test suite. A helper
Makefile is provided for building and running the gcc tests.

The default configuration runs all gcc tests and requires automatic
ssh/scp login access to a networked target board. See README for
more details.

Note: Current feature is tested with the powerpc-unknown-linux-gnu
sample but it should work with others as well.

Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
     1 # GDB menu
     2 
     3 config DEBUG_gdb
     4     help
     5       Enable gdb for the target
     6 
     7 source "config/debug/gdb.in.cross"
     8 source "config/debug/gdb.in.native"
     9 source "config/debug/gdb.in.gdbserver"
    10 
    11 choice
    12     bool
    13     prompt "gdb version"
    14     depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
    15 # Don't remove next line
    16 # CT_INSERT_VERSION_BELOW
    17 
    18 config GDB_V_7_1
    19     bool
    20     prompt "7.1 (EXPERIMENTAL)"
    21     depends on EXPERIMENTAL
    22     select GDB_7_0_or_later
    23 
    24 config GDB_V_7_0_1
    25     bool
    26     prompt "7.0.1 (EXPERIMENTAL)"
    27     depends on EXPERIMENTAL
    28     select GDB_7_0_or_later
    29 
    30 config GDB_V_7_0
    31     bool
    32     prompt "7.0 (EXPERIMENTAL)"
    33     depends on EXPERIMENTAL
    34     select GDB_7_0_or_later
    35 
    36 config GDB_V_6_8
    37     bool
    38     prompt "6.8"
    39 
    40 endchoice
    41 
    42 config GDB_7_0_or_later
    43     bool
    44 
    45 config GDB_VERSION
    46     string
    47 # Don't remove next line
    48 # CT_INSERT_VERSION_STRING_BELOW
    49     default "7.1" if GDB_V_7_1
    50     default "7.0.1" if GDB_V_7_0_1
    51     default "7.0" if GDB_V_7_0
    52     default "6.8" if GDB_V_6_8