config/arch/x86.in
author Titus von Boxberg <titus@v9g.de>
Sat Aug 21 16:46:24 2010 +0200 (2010-08-21)
changeset 2090 e3771cd6e420
parent 1345 27fec561af53
child 2444 896cb0d36c1a
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 # x86 specific options
     2 
     3 config ARCH_x86
     4     select ARCH_SUPPORTS_32
     5     select ARCH_SUPPORTS_64
     6     select ARCH_DEFAULT_32
     7     select ARCH_USE_MMU
     8     select ARCH_SUPPORT_ARCH
     9     select ARCH_SUPPORT_CPU
    10     select ARCH_SUPPORT_TUNE
    11     help
    12       The x86 architecture, as defined by:
    13         32-bit (ia32) : http://www.intel.com/
    14         64-bit (amd64): http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html