|
From: Naveen K. <g_n...@ya...> - 2011-07-11 15:00:24
|
>>> objdump --dwarf /lib/ld-2.2.4.so John looks like the version of objdump that came with the system does not have the --dwarf option. It has a -G(--stabs) for STABS info. Would that be sufficient ? >>The C run-time library and the operating system itself also are acting >>unfriendly. The OS should implement the concept of __NR_exit_group. >>If the OS does not, then the C run-time library should emulate it >>(if nothing else, by aliasing exit_group() to exit().) Consider >>asking your OS and C run-time library for such implementations. Couldnt valgrind be changed to add a __NR_exit after __NR_exit_group. ? That way on newer OSes the exit_group would take care of exiting and code would never reach __NR_exit. On older systems the __NR_exit_group would be ignored and __NR_exit would come into the picture. Naveen |