From f086451a322e1d30422c31ccce766260a9f35c12 Mon Sep 17 00:00:00 2001 From: Nicholas Duffek Date: Sat, 12 Feb 2000 06:08:10 +0000 Subject: [PATCH] * uw-thread.c: Remove __FUNCTION__ GNUism. --- gdb/ChangeLog | 4 ++++ gdb/uw-thread.c | 11 ++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dcf212f3c6..69893c24a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek + + * uw-thread.c: Remove __FUNCTION__ GNUism. + 2000-01-17 Amit S. Kale * elfread.c (elf_symtab_read): Use offset for the section in which a diff --git a/gdb/uw-thread.c b/gdb/uw-thread.c index 91d6638b7b..07f4ac632b 100644 --- a/gdb/uw-thread.c +++ b/gdb/uw-thread.c @@ -2,6 +2,7 @@ GDB, the GNU debugger. Copyright 1999, 2000 Free Software Foundation, Inc. + Written by Nick Duffek . This file is part of GDB. @@ -152,11 +153,11 @@ do { \ * * Otherwise, issue an error message and return nonlocally. */ -#define CALL_BASE(call) \ -do { \ - if (!lwp_infpid ()) \ - error ("uw-thread: "__FUNCTION__": no lwp"); \ - CALL_BASE_1 (call); \ +#define CALL_BASE(call) \ +do { \ + if (!lwp_infpid ()) \ + error ("uw-thread: no lwp"); \ + CALL_BASE_1 (call); \ } while (0) /*