config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Apr 19 16:17:11 2009 +0000 (2009-04-19)
branchnewlib
changeset 1365 c4d124ed9f8e
parent 1358 07bc5731a037
permissions -rw-r--r--
Update the newlib devel branch with stuf from /trunk.

-------- diffstat follows --------
/devel/newlib/configure | 8 4 4 0
/devel/newlib/scripts/build/kernel/linux.sh | 2 1 1 0
/devel/newlib/scripts/build/cc/gcc.sh | 34 22 12 0 +
/devel/newlib/scripts/build/debug/300-gdb.sh | 52 45 7 0 +
/devel/newlib/scripts/build/libc/uClibc.sh | 6 3 3 0
/devel/newlib/scripts/build/mpfr.sh | 2 1 1 0
/devel/newlib/scripts/crosstool-NG.sh.in | 20 18 2 0 +
/devel/newlib/scripts/functions | 44 34 10 0 +
/devel/newlib/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch | 414 0 414 0 ----------
/devel/newlib/patches/glibc/2_9/140-regex-BZ9697.patch | 111 0 111 0 ---
/devel/newlib/patches/glibc/2_9/190-queue-header-updates.patch | 89 0 89 0 --
/devel/newlib/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch | 249 0 249 0 ------
/devel/newlib/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch | 32 0 32 0 -
/devel/newlib/patches/glibc/2_9/330-2.3.3-china.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/270-ldbl-nexttowardf.patch | 68 0 68 0 --
/devel/newlib/patches/glibc/2_9/410-2.9-fnmatch.patch | 64 0 64 0 --
/devel/newlib/patches/glibc/2_9/340-new-valencian-locale.patch | 120 0 120 0 ---
/devel/newlib/patches/glibc/2_9/350-2.4-undefine-__i686.patch | 47 0 47 0 -
/devel/newlib/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch | 53 0 53 0 -
/devel/newlib/patches/glibc/2_9/150-regex-BZ697.patch | 28 0 28 0 -
/devel/newlib/patches/glibc/2_9/420-dont-build-timezone.patch | 19 0 19 0 -
/devel/newlib/patches/glibc/2_9/290-no-inline-gmon.patch | 38 0 38 0 -
/devel/newlib/patches/glibc/2_9/280-section-comments.patch | 29 0 29 0 -
/devel/newlib/patches/glibc/2_9/180-math-tests.patch | 72 0 72 0 --
/devel/newlib/patches/glibc/2_9/250-resolv-dynamic.patch | 44 0 44 0 -
/devel/newlib/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/300-2.9-check_native-headers.patch | 22 0 22 0 -
/devel/newlib/patches/glibc/2_9/130-add_prio-macros.patch | 26 0 26 0 -
/devel/newlib/patches/glibc/2_9/310-2.3.6-fix-pr631.patch | 50 0 50 0 -
/devel/newlib/patches/glibc/2_9/510-sh-no-asm-user-header.patch | 70 0 70 0 --
/devel/newlib/patches/glibc/2_9/260-fadvise64_64.patch | 30 0 30 0 -
/devel/newlib/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch | 249 0 249 0 ------
/devel/newlib/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch | 74 0 74 0 --
/devel/newlib/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch | 18 0 18 0 -
/devel/newlib/patches/glibc/2_9/360-2.8-nscd-one-fork.patch | 45 0 45 0 -
/devel/newlib/patches/glibc/2_9/210-2.9-strlen-hack.patch | 109 0 109 0 ---
/devel/newlib/patches/glibc/2_9/320-2.9-assume-pipe2.patch | 59 0 59 0 -
/devel/newlib/patches/glibc/2_9/100-ssp-compat.patch | 193 0 193 0 -----
/devel/newlib/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch | 30 0 30 0 -
/devel/newlib/patches/glibc/2_9/220-manual-no-perl.patch | 29 0 29 0 -
/devel/newlib/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch | 38 0 38 0 -
/devel/newlib/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch | 198 0 198 0 -----
/devel/newlib/patches/glibc/2_9/520-sh-no-asm-elf-header.patch | 27 0 27 0 -
/devel/newlib/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch | 23 0 23 0 -
/devel/newlib/patches/glibc/2_9/200-awk-in-C-locale.patch | 23 0 23 0 -
/devel/newlib/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch | 57 0 57 0 -
/devel/newlib/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch | 71 0 71 0 --
/devel/newlib/patches/glibc/2_9/490-ptr-mangling.patch | 114 0 114 0 ---
/devel/newlib/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch | 19 0 19 0 -
/devel/newlib/patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 0 14 0 -
/devel/newlib/patches/uClibc/0.9.30.1/140-gnu89-inline.patch | 2 1 1 0
/devel/newlib/docs/known-issues.txt | 16 15 1 0 +
/devel/newlib/docs/overview.txt | 2 1 1 0
/devel/newlib/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config | 243 0 243 0 ------
/devel/newlib/samples/armeb-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/sh4-unknown-linux-gnu/crosstool.config | 35 18 17 0 +
/devel/newlib/samples/x86_64-unknown-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/arm-unknown-elf/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/armeb-unknown-eabi/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/arm-unknown-linux-gnueabi/crosstool.config | 113 73 40 0 +--
/devel/newlib/samples/ia64-unknown-linux-gnu/crosstool.config | 91 61 30 0 +-
/devel/newlib/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config | 245 0 245 0 ------
/devel/newlib/samples/x86_64-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/armeb-unknown-linux-gnueabi/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 96 63 33 0 +-
/devel/newlib/samples/i686-nptl-linux-gnu/crosstool.config | 78 48 30 0 +-
/devel/newlib/samples/arm-unknown-linux-gnu/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-unknown-linux-gnu/crosstool.config | 103 67 36 0 +-
/devel/newlib/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config | 254 0 254 0 ------
/devel/newlib/samples/mips-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +-
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config | 253 0 253 0 ------
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/arm-iphone-linux-gnueabi/crosstool.config | 84 57 27 0 +-
/devel/newlib/samples/armeb-unknown-linux-gnu/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/i586-geode-linux-uclibc/uClibc-0.9.30.config | 263 0 263 0 ------
/devel/newlib/samples/i586-geode-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config | 253 0 253 0 ------
/devel/newlib/samples/arm-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config | 248 0 248 0 ------
/devel/newlib/samples/powerpc-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +-
/devel/newlib/samples/mips-unknown-elf/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/powerpc-405-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 26 13 13 0
/devel/newlib/samples/arm-unknown-eabi/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/mipsel-unknown-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/powerpc64-unknown-linux-gnu/crosstool.config | 75 49 26 0 +-
/devel/newlib/samples/alphaev56-unknown-linux-gnu/crosstool.config | 94 63 31 0 +-
/devel/newlib/samples/powerpc-860-linux-gnu/crosstool.config | 102 67 35 0 +-
/devel/newlib/config/kernel/linux.in | 87 46 41 0 +-
/devel/newlib/config/cc/gcc.in | 35 30 5 0 +
/devel/newlib/config/debug/gdb.in | 2 1 1 0
94 files changed, 1851 insertions(+), 5813 deletions(-)
yann@96
     1
# GDB menu
yann@96
     2
yann@916
     3
config DEBUG_gdb
yann@96
     4
    help
yann@96
     5
      Enable gdb for the target
yann@96
     6
yann@96
     7
config GDB_CROSS
yann@96
     8
    bool
yann@96
     9
    prompt "Cross-gdb"
yann@96
    10
    default y
yann@850
    11
    select GDB_GDBSERVER if ! BARE_METAL
yann@96
    12
    help
yann@583
    13
      Build and install a cross-gdb for the target, to run on host.
yann@96
    14
yann@583
    15
config GDB_CROSS_STATIC
yann@457
    16
    bool
yann@457
    17
    prompt "Build a static cross gdb"
yann@457
    18
    default n
yann@457
    19
    depends on GDB_CROSS
yann@457
    20
    help
yann@457
    21
      A static cross gdb can be usefull if you debug on a machine that is
yann@583
    22
      not the one that is used to compile the toolchain.
yann@457
    23
yann@583
    24
      That way, you can share the cross-gdb without installing a toolchain
yann@583
    25
      on every machine that will be used to debug target programs.
yann@583
    26
yann@821
    27
config GDB_CROSS_INSIGHT
yann@821
    28
    bool
yann@821
    29
    prompt "Use Insight instead (EXPERIMENTAL)"
yann@821
    30
    default n
yann@821
    31
    depends on GDB_CROSS
yann@821
    32
    depends on EXPERIMENTAL
yann@821
    33
    help
yann@821
    34
      If you say 'Y' here, then Insight will be used to build the cross
yann@821
    35
      debugger, instead of the plain gdb.
yann@821
    36
      
yann@821
    37
      Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
yann@821
    38
yann@583
    39
config GDB_NATIVE
yann@583
    40
    bool
yann@583
    41
    prompt "Native gdb"
yann@583
    42
    default n
yann@850
    43
    depends on ! BARE_METAL
yann@583
    44
    help
yann@583
    45
      Build and install a native gdb for the target, to run on the target.
yann@583
    46
yann@583
    47
config GDB_NATIVE_STATIC
yann@583
    48
    bool
yann@583
    49
    prompt "Build a static native gdb"
yann@583
    50
    default n
yann@583
    51
    depends on GDB_NATIVE
yann@583
    52
    help
yann@583
    53
      In case you have trouble with dynamic loading of shared libraries,
yann@583
    54
      you will find that a static gdb comes in handy.
yann@583
    55
yann@622
    56
config GDB_NATIVE_USE_GMP_MPFR
yann@622
    57
    bool
yann@824
    58
    prompt "Use GMP and MPFR"
yann@622
    59
    default n
yann@622
    60
    depends on GDB_NATIVE
yann@622
    61
    select GMP_MPFR
yann@622
    62
    select GMP_MPFR_TARGET
yann@622
    63
    help
yann@622
    64
      gdb can make use of the GMP and MPFR libraries.
yann@622
    65
yann@622
    66
      While the cross-gdb (above) can use the libraries compiled for the
yann@622
    67
      host, the native gdb needs the libraries for the target (where it will
yann@622
    68
      eventually run).
yann@622
    69
yann@622
    70
      Setting this option will force building the GMP and MPFR libraries for
yann@622
    71
      the target, and configure the native gdb to use them.
yann@622
    72
yann@583
    73
config GDB_GDBSERVER
yann@583
    74
    bool
yann@583
    75
    prompt "gdbserver"
yann@583
    76
    default n
yann@850
    77
    depends on ! BARE_METAL
yann@583
    78
    help
yann@583
    79
      Build and install a gdbserver for the target, to run on the target.
yann@583
    80
yann@583
    81
config GDB_GDBSERVER_STATIC
yann@175
    82
    bool
yann@175
    83
    prompt "Build a static gdbserver"
yann@622
    84
    default y
yann@583
    85
    depends on GDB_GDBSERVER
yann@175
    86
    help
yann@175
    87
      In case you have trouble with dynamic loading of shared libraries,
yann@175
    88
      you will find that a static gdbserver comes in handy.
yann@175
    89
yann@1358
    90
if BARE_METAL
yann@1358
    91
comment "In bare-metal, you'll need to   "
yann@1358
    92
comment "provide your own gdbserver stub."
yann@1358
    93
endif # BARE_METAL
yann@1358
    94
yann@96
    95
choice
yann@96
    96
    bool
yann@96
    97
    prompt "gdb version"
yann@583
    98
    depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
yann@96
    99
yann@96
   100
config GDB_V_6_4
yann@96
   101
    bool
yann@330
   102
    prompt "6.4 (OBSOLETE)"
yann@96
   103
    depends on OBSOLETE
yann@96
   104
yann@96
   105
config GDB_V_6_5
yann@96
   106
    bool
yann@709
   107
    prompt "6.5 (OBSOLETE)"
yann@709
   108
    depends on OBSOLETE
yann@96
   109
yann@96
   110
config GDB_V_6_6
yann@96
   111
    bool
yann@96
   112
    prompt "6.6"
yann@96
   113
yann@477
   114
config GDB_V_6_7
yann@477
   115
    bool
yann@477
   116
    prompt "6.7 (EXPERIMENTAL)"
yann@477
   117
    depends on EXPERIMENTAL
yann@477
   118
yann@477
   119
config GDB_V_6_7_1
yann@477
   120
    bool
yann@477
   121
    prompt "6.7.1 (EXPERIMENTAL)"
yann@477
   122
    depends on EXPERIMENTAL
yann@477
   123
yann@477
   124
config GDB_V_6_8
yann@477
   125
    bool
yann@639
   126
    prompt "6.8"
yann@477
   127
yann@96
   128
# CT_INSERT_VERSION_ABOVE
yann@96
   129
# Don't remove above line!
yann@865
   130
yann@865
   131
config GDB_V_snapshot
yann@865
   132
    bool
yann@865
   133
    prompt "snapshot (EXPERIMENTAL)"
yann@865
   134
    depends on EXPERIMENTAL
yann@865
   135
    depends on ! GDB_CROSS_INSIGHT
yann@865
   136
yann@96
   137
endchoice
yann@96
   138
yann@96
   139
config GDB_VERSION
yann@96
   140
    string
yann@96
   141
    default "snapshot" if GDB_V_snapshot
yann@96
   142
    default "6.4" if GDB_V_6_4
yann@96
   143
    default "6.5" if GDB_V_6_5
yann@96
   144
    default "6.6" if GDB_V_6_6
yann@477
   145
    default "6.7" if GDB_V_6_7
yann@477
   146
    default "6.7.1" if GDB_V_6_7_1
yann@477
   147
    default "6.8" if GDB_V_6_8
yann@96
   148
# CT_INSERT_VERSION_STRING_ABOVE
yann@96
   149
# Don't remove above line!
yann@96
   150
yann@573
   151
if GDB_NATIVE
yann@573
   152
yann@1365
   153
comment "Native gdb needs a native ncurses library"
yann@573
   154
yann@573
   155
choice
yann@573
   156
    bool
yann@573
   157
    prompt "ncurses version"
yann@573
   158
yann@573
   159
config NCURSES_V_5_6
yann@573
   160
    bool
yann@573
   161
    prompt "5.6"
yann@573
   162
yann@1198
   163
config NCURSES_V_5_7
yann@1198
   164
    bool
yann@1198
   165
    prompt "5.7"
yann@1198
   166
yann@573
   167
endchoice
yann@573
   168
yann@573
   169
config NCURSES_VERSION
yann@573
   170
    string
yann@573
   171
    default "5.6" if NCURSES_V_5_6
yann@1198
   172
    default "5.7" if NCURSES_V_5_7
yann@573
   173
yann@583
   174
endif # GDB_NATIVE --> ncurses