debug/gdb: fix for psim build failure due to -lz in gdb-7.2.
Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
1 --- glibc-2_9.orig/nptl/init.c 2007-10-15 22:25:25.000000000 +0200
2 +++ glibc-2_9/nptl/init.c 2010-08-18 10:46:06.109098646 +0200
6 /* This can be set by the debugger before initialization is complete. */
7 -static bool __nptl_initial_report_events;
8 +static bool __nptl_initial_report_events __attribute_used__;
11 __pthread_initialize_minimal_internal (void)