config/arch/mips.in
author Titus von Boxberg <titus@v9g.de>
Sat Aug 21 16:46:24 2010 +0200 (2010-08-21)
changeset 2090 e3771cd6e420
parent 1716 6bbf206a5b57
child 2118 034de6dca38f
permissions -rw-r--r--
libc/glibc: repair debugging with gdb (glibc 2.9)

Without this patch, crosstool-ng-built glibc-2.9 prevents
debugging any exeutable with gdb.
gdb says:
[Thread debugging using libthread_db enabled]
find_new_threads_callback: cannot get thread info: generic error
See also https://bugzilla.redhat.com/show_bug.cgi?id=487212
for a discussion of the bug and the solution.
     1 # MIPS specific config options
     2 
     3 config ARCH_mips
     4     select ARCH_SUPPORTS_32
     5     select ARCH_SUPPORTS_64 if EXPERIMENTAL
     6     select ARCH_DEFAULT_32
     7     select ARCH_USE_MMU
     8     select ARCH_SUPPORTS_BOTH_ENDIAN
     9     select ARCH_DEFAULT_BE
    10     select ARCH_SUPPORT_ARCH
    11     select ARCH_SUPPORT_ABI
    12     select ARCH_SUPPORT_TUNE
    13     help
    14       The MIPS architecture, as defined by:
    15         http://www.mips.com/