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]

Re: [PATCH] S/390: Add SystemTap probes to longjmp and setjmp.


Ping


See https://sourceware.org/ml/gdb-patches/2014-10/msg00200.html
for information about the mentioned gdb-patch for 31bit s390.

On 10/09/2014 12:51 PM, Stefan Liebler wrote:
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]