config/libc/none.in
author Titus von Boxberg <titus@v9g.de>
Sat Aug 21 16:46:24 2010 +0200 (2010-08-21)
changeset 2090 e3771cd6e420
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 # Dummy config file to not use a C library *at all*
     2 # depends on BARE_METAL
     3 
     4 config LIBC_none
     5     help
     6       Do not use a C library.
     7       
     8       This is usefull if your project is self-contained, does not rely on
     9       an external C library, and provides all the necessary bits.
    10       
    11       Most probably usefull to bootloaders, as they generally don't depend
    12       on the C library.
    13       
    14       If unsure: do *not* choose that, and use another option in the choice.