config/arch/s390.in
author Titus von Boxberg <titus@v9g.de>
Sat Aug 21 16:46:24 2010 +0200 (2010-08-21)
changeset 2090 e3771cd6e420
parent 1631 14abcd185e4b
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 # s390 specific config options
     2 # depends on EXPERIMENTAL
     3 
     4 config ARCH_s390
     5     select ARCH_SUPPORTS_32
     6     select ARCH_SUPPORTS_64
     7     select ARCH_DEFAULT_32
     8     select ARCH_USE_MMU
     9     select ARCH_SUPPORT_FPU
    10     help
    11       Defined by IBM in:
    12         32-bit ESA/390       : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9ar008/CCONTENTS
    13         64-bit z/Architecure : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9zr002/CCONTENTS