This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,This patch adds support for the SystemTap probes setjmp, longjmp and longjmp_target. The longjmp probe is needed by gdb to determine the target branch address while stepping over a longjmp call.
In order to have the demangled address as argument for the longjmp-probe, the demangling was reordered.
Tested on s390/s390x.(For 31bit gdb, a gdb-patch is needed in order to step over a longjmp call, but the probes are okay.)
Bye Stefan --- 2014-10-09 Stefan Liebler <stli@linux.vnet.ibm.com> * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Add setjmp LIBC_PROBE. * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Add longjmp, longjmp_target LIBC_PROBE. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
Attachment:
patchglibc_longjmp_probe_20141009
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |