1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

PowerPC: Add systemtap static probe points in setjmp/longjmp

This patch add static probes for setjmp/longjmp in the way gdb expects,fixing
the gdb.base/longjmp.exp gdb testcases.

It changes the symbol_name and use macros to to avoid change the probe names
and ending up adding more logic on GDB (since with the expected name
GDB work seamlessly).
This commit is contained in:
Adhemerval Zanella
2013-11-22 06:36:54 -06:00
parent 76a4a26979
commit eb5ad6b9bc
13 changed files with 128 additions and 60 deletions

View File

@ -24,7 +24,7 @@
.string "longjmp causes uninitialized stack frame"
.text
#define __longjmp ____longjmp_chk
#define __longjmp_symbol ____longjmp_chk
#ifdef PIC
# define LOAD_ARG \