config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 14 22:16:01 2011 +0100 (2011-03-14)
changeset 2335 805e9f2a06fa
parent 2168 974179cae714
child 2417 6c3e0ce9fc3a
permissions -rw-r--r--
samples: new PPC e300c3 sample

Gustavo wrote:

---8<---
Attached my ct-ng e300c3 toolchain config for:

powerpc-e300c3-linux-gnu [l X]
OS : linux-2.6.36.3
Companion libs : gmp-5.0.1 mpfr-3.0.0 ppl-0.10.2 cloog-ppl-0.15.10 mpc-0.8.2 libelf-0.8.13
binutils : binutils-2.21
C compiler : gcc-4.5.2 (C,C++)
C library : eglibc-2_12
Tools :
---8<---

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
["Yann E. MORIN" : updated to match new config options]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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_linaro_7_2_2011_02_0
    19     bool
    20     prompt "linaro-7.2-2011.02-0 (EXPERIMENTAL)"
    21     depends on EXPERIMENTAL
    22     select GDB_7_0_or_later
    23 
    24 config GDB_V_7_2
    25     bool
    26     prompt "7.2 (EXPERIMENTAL)"
    27     depends on EXPERIMENTAL
    28     select GDB_7_0_or_later
    29 
    30 config GDB_V_7_1
    31     bool
    32     prompt "7.1 (EXPERIMENTAL)"
    33     depends on EXPERIMENTAL
    34     select GDB_7_0_or_later
    35 
    36 config GDB_V_7_0_1
    37     bool
    38     prompt "7.0.1 (EXPERIMENTAL)"
    39     depends on EXPERIMENTAL
    40     select GDB_7_0_or_later
    41 
    42 config GDB_V_7_0
    43     bool
    44     prompt "7.0 (EXPERIMENTAL)"
    45     depends on EXPERIMENTAL
    46     select GDB_7_0_or_later
    47 
    48 config GDB_V_6_8
    49     bool
    50     prompt "6.8"
    51 
    52 endchoice
    53 
    54 config GDB_7_0_or_later
    55     bool
    56 
    57 config GDB_VERSION
    58     string
    59 # Don't remove next line
    60 # CT_INSERT_VERSION_STRING_BELOW
    61     default "linaro-7.2-2011.02-0" if GDB_V_linaro_7_2_2011_02_0
    62     default "7.2" if GDB_V_7_2
    63     default "7.1" if GDB_V_7_1
    64     default "7.0.1" if GDB_V_7_0_1
    65     default "7.0" if GDB_V_7_0
    66     default "6.8" if GDB_V_6_8