From eb5ad6b9bcf579f1cb5c67ca4650ee4a0cf1b4b1 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 22 Nov 2013 06:36:54 -0600 Subject: 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). --- sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/powerpc') diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S index 978370e625..6e88b615d7 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S @@ -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 \ -- cgit 1.4.1