From 3defcff3991314ad57e9b63c37f5e6de9fd5e879 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 19 Nov 2004 00:01:34 +0000 Subject: Update. 2004-11-17 Randolph Chung * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind annotations. --- nptl/sysdeps/sh/tls.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/sh/tls.h') diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h index 88b13a35c8..db490ab7ee 100644 --- a/nptl/sysdeps/sh/tls.h +++ b/nptl/sysdeps/sh/tls.h @@ -118,7 +118,8 @@ typedef struct __self - 1;}) /* Magic for libthread_db to know how to do THREAD_SELF. */ -# define DB_THREAD_SELF REGISTER (32, 32, REG_GBR * 4, 0) +# define DB_THREAD_SELF \ + REGISTER (32, 32, REG_GBR * 4, -sizeof (struct pthread)) /* Read member of the thread descriptor directly. */ # define THREAD_GETMEM(descr, member) (descr->member) -- cgit v1.2.1