This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User Titus von Boxberg <titus@v9g.de> # Date 1282385174 -7200 # Node ID e8983be8180138910f96bc9be816a0c88b36d20a # Parent 2e4e1dcddf441c7a6f11dcff5544ef02a2e0d8a9 patches/glibc/2.9: repair debugging with gdb 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. diff -r 2e4e1dcddf44 -r e8983be81801 patches/glibc/2.9/610-fix-nptl-init.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/610-fix-nptl-init.patch Sat Aug 21 12:06:14 2010 +0200 @@ -0,0 +1,11 @@ +--- glibc-2_9.orig/nptl/init.c 2007-10-15 22:25:25.000000000 +0200 ++++ glibc-2_9/nptl/init.c 2010-08-18 10:46:06.109098646 +0200 +@@ -236,7 +236,7 @@ + + + /* This can be set by the debugger before initialization is complete. */ +-static bool __nptl_initial_report_events; ++static bool __nptl_initial_report_events __attribute_used__; + + void + __pthread_initialize_minimal_internal (void) -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |